This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes URL without Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "URL without "www"" Watch "URL without "www"" New topic
Author

URL without "www"

jacob deiter
Ranch Hand

Joined: Apr 02, 2008
Posts: 576
some URL does not have "WWW" ,what it is meant?

https://xxxx.com

if a URL has the below syntax means what?

https://www.xxx.com
Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3432
    
  12
www is just a convention. It is not obligatory


Joanne
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
It's important to note that xxxx.com and www.xxxx.com need not be the same server; that they usually are is just a convention, too.
jacob deiter
Ranch Hand

Joined: Apr 02, 2008
Posts: 576
But if add "www" in the URl ,it does not work

If i try "https://xxxx.com" it works

but if i try "https://www.xxxx.com" or "www.xxxx.com" it does not work
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
Did you see my reply? What did you think it said?
Matthew Brown
Bartender

Joined: Apr 06, 2010
Posts: 4344
    
    8

There's nothing special about "www". It's not a different syntax. It's just very common to prefix web addresses with it. It isn't compulsory.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: URL without "www"
 
Similar Threads
Study Partner for IBM test 669: SOA Fundamentals
IBM 141 Test
Using https in java application
HTTPS / MIDP 1.0
FREE BETA: SCBCD 5.0 Beta Certification Exam