Jump to content
xisto Community
Sign in to follow this  
Qop

What Is 'www1'?

Recommended Posts

Err.. this is going to be rather long and confusing - unless you've got some clear-cut idea about how DNS server's resolve names. Still, I'll try to make it as simple and short as possible..

 

Lets take for example a website named http://abc.go.com/

Now you surely know that .com/.net/.org etc. are termed as TLDs or Top Level Domains - that's what you purchase (or rather lease) from ICANN. Along with a .com/.net etc you also specify a proper domain name that either matches your product or company.. or the theme of your website in general.. so in this case, say, we purchase the name abcd.com.. When you type this name in a browser it first contacts the root nameservers and tries to resolve this name to a corresponding IP address. If it is listed in the roots, good enough - or else the request is redirected to other nameservers which may further redirect it to others.. or as a base case to your own name servers - if you have them up and running (only possible if you've been granted a SOA or Start Of Authority by the root servers)..

 

Order of resolution is right to left:

http://abc.go.com/: .com --> .abcd --> www

 

Now, this www part before your domain name is known as the CNAME or Canonical Name. You'll notice, that both http://abc.go.com/ and simply http://abc.go.com/ will take you to the same place. When a connection finally manages to reach your own server through a chain of resolutions as said above - it almost invariably connects to abcd.com and NOT http://abc.go.com/.. Behind the screens, http://abc.go.com/ is actually made to point to abcd.com while, abcd.com itself points to your server's WAN(internet) IP address.

 

So http://abc.go.com/ --> abcd.com --> IP address

 

Now this CNAME is almost always www as an adopted standard, coz it's easy to remember as well as its an abbreviation for the World Wide Web. This www is actually COMPLETELY IRRELEVANT. As long as you have your own DNS server's running, you can instruct it to resolve ANYTHING in the CNAME part - ANYTHING I repeat.. it could very well be http://forums.xisto.com/no_longer_exists/, or http://forums.xisto.com/no_longer_exists/ or even http://forums.xisto.com/no_longer_exists/ - this "www" means absolutely NOTHING. (At the same time - do not confuse it with a subdomain). As I said earlier, since this is a world-wide adopted standard almost any and every web-site uses the www.. but occasionally some sites use www1 or www2 or even www9 ... whatever they feel like using. The crux of the matter is, that your own DNS servers should have a record of this wwwX name and be able to resolve it to the right IP/Server...

 

That's all...

 

Sorry I couldn't come up with anything simpler than this.. maybe someone else can explain it in a better and clearer manner..

Share this post


Link to post
Share on other sites

Thanks microscopic^earthling for giving that explanation. I also have been wondering what that was. I have seen sites with www3Just one question though, if you had your own dns server running, you could change the www to anything you wanted?Also, I thought I might just mention it, if people are wondering what https:// is, its a secure mode of internet browsing. It means your browsing the site using SSL security :lol:

Share this post


Link to post
Share on other sites

Thanks microscopic^earthling for giving that explanation.  I also have been wondering what that was.  I have seen sites with www3

 

Just one question though, if you had your own dns server running, you could change the www to anything you wanted?


Yup - absolutely.. But before that, you'd have to apply for something called SOA (Start Of Authority) - which I mentioned in the above post. Once you have that, when someone types your domain name, the resoltuion request is directly transfered to your own nameservers from the root-level nameservers... At that point - it's completely on your own nameservers as to how they resolve that www or www2 .. or xyzabc.. in short it depends totally on how your configure your nameserver to handle that CNAME.

 

Also, I thought I might just mention it, if people are wondering what https:// is, its a secure mode of internet browsing.  It means your browsing the site using SSL security :lol:

<{POST_SNAPBACK}>


Yup - you're right again. The https stands for HTTP Secure - and you'll find it on loads of sites these days, specifically sites that handle monetary transactions. Normally your browser <--> Web Site data transfers happen in plain text. If someone has adequate skills and tools (packet sniffers) one can intercept personal/private information that you might be sending over to these sites. That includes Credit Card numbers, Passwords or any other private information that you don't want the world to know about... HTTPS takes care of this - by encrypting the data at your browser end using a public key - which is then decrypted at the server end using its own private key.. These keys come in the form of what we commonly call "Certificates" these days. The concept of certificates arose, coz anyone with malintent can create his own certificate and fool you into believing that you're entering a valid site... So a couple of certificate authorities were brought into existence - and as a rule, any site claiming to be secure obtains their certificates from these certification authorities - just a kind of a measure to establish some global standards on this issue. It's SSL security all the way :lol:

 

Regards,

m^e

Share this post


Link to post
Share on other sites

wow , thankx for that info m8 , really didnt know what www1 or www2 ment , but since we are on the topic , i had this weird thing that just happend today ..

 

Our library set up this portal kind of a thing ( books in stock , availability , search etc ) .. now i know that the library would have to be connected to the internal college server .. but for anything within a network there is a web address thats understandable .. what i cant understand is that my Lib portal address is
http://forums.xisto.com/no_longer_exists/
... could u explain that ?

 

Regards

Share this post


Link to post
Share on other sites

Yup, I think I understood a good deal about the naming bit from m^e's post. I actually thought all this while that it was really inportant to put in the www before a web address. Although I have put in addressess without the www before, I'd thought it was because the browser remembers the address and points to the address automatically. Lo an behold, after reading the post, I'm now more educated than before and shall do away with religiously appending a 'www' before all the addressess I type in.

Share this post


Link to post
Share on other sites

cyph3r

Working in an internal network, the name Library is just that name of the machine.

Every computer requires an IP address to be part of a network. Every computer also requires a name, I'm not sure if names can conflict on a computer either, so most likely they'd be different.

If I called named my computer Master, I know I have many ways of being able to access it. If I'm on the computer Master and I have a webserver, I could use LOCALHOST/ (which is a name already set up to point to your loopback/your own computer) I could use http://forums.xisto.com/no_longer_exists/ (which is that loopback IP) I could use http://forums.xisto.com/no_longer_exists/ (the name I gave my computer) I could use it's network's IP (the IP assigned to my network card). On the internet, I could use it's external IP to access it (a static/dynamic IP I have on the web), or I could use it's domain name (which requires it to have a DNS entry which just points to it's external IP address).

They have chosen to use the computer's name. This would only work in internal networks. They could have just given you it's IP and it'd work the same way but what's easier to remember? You just have to realise that http://forums.xisto.com/no_longer_exists/ is not an address on the web, but a name used internally.


Cheers,


MC

Share this post


Link to post
Share on other sites

cyph3r
Working in an internal network, the name Library is just that name of the machine.

Every computer requires an IP address to be part of a network.  Every computer also requires a name, I'm not sure if names can conflict on a computer either, so most likely they'd be different.


Yup - even if you're running a NetBEUI based system under Windows networking environment (which doesn't require you to set IPs - simply computer names are required for communication) - you'd need different names.
And if you're using an IP based network, even then the names need to be different - either way, your system won't be able to hook itself onto the network, if it's name conflicts with that of another one. :)

Share this post


Link to post
Share on other sites

Not necessarily as you can also resolve a request like http://www.dell.com/en-us/ into http://www.dell.com/en-us/ directly, but it does not contain anything different than the other wwws. As far as I know you can see them as a kind of privileged subdomain. But for example if you take http://php.net/ -> They resolve your server request and they redirect you to your countries server. For big countries they got multiple servers. So, if I connect to php.net from Germany during primetime I will be eventually ending up on de6.php.net, because the other subdomains are overworked or whatever. In this case I am not actually sure if it resolves the DNS request or if it is a PHP script. But I think you should generally say: If you don't have a really damn HUGE site you won't need multiple wwws.. In the cases I saw it, it was always giant sites which had a lot of request so I guessed that the different domains were just directed to not overworked servers. Am I right? Because I never actually read anything about this except m^es article and I just figured it out, while using.
regards,
ruben

Share this post


Link to post
Share on other sites

Yup more or less on track :) - although it's not the PHP script which would do load based redirect. Instead, say, your https://xyz.xyz/ will be the HUNTING server - to which you connect initially. This server polls all the parallel ones and finds out which one has the least load average and redirects you to that. There's only one slight difference - subdomains can be hosted on any of these servers and then mirrored on to the other ones. So a subdomain like sub1.xyz.com will exists on all the parallel servers. But think of www, www1, www2 etc - as the NAME of the servers themselves and not a priviledged subdomain. That'd help you get the picture.

Share this post


Link to post
Share on other sites

Wow! Thanks for the explanation microscopic^earthling! I thought it was like an advanced version of their host or site. I didn't realize it was that. So I suppose that also explains www2 as well?

Share this post


Link to post
Share on other sites

So I could make simple subdomains www1 and etc. for my site and with little php I could make it look like it uses a lot of multiple servers and stuff :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.