On August 13, 2001 10:10 am, George Petri wrote: > > domainname.com is the actual domain. By purchasing it, you can make as > > many names (www.domainname.com) and subdomains > > (poptart.office.domainname.com) as you want. > > With "poptart.office.domainname.com", can it be > www.poptart.office.domainname.com as well? Is there any advantage in > leaving out the www bit (other than laziness on my part? :) Most likely not. As others have said previously, it is the way the DNS is setup. In the above example, you would set up the following on your DNS (general not specific): DNS domainname.com = IP 24.70.x.5 office.domainname.com = IP 24.70.x.6 poptart.office.domainname.com = IP 24.70.x.6 So that when someone goes to 'domainname.com' they go to the server at 24.70.x.5, and when they go to 'office' or 'poptart.office' they go to the server at 24.70.x.6. The webserver would handle 'office' and 'poptart.office' and ensure that they are sent to the proper directory. As I didn't mention 'www', you're now thoroughly confused. 'www' would simply be an alias setup by the webserver, so you can access it different ways. You webserver would be setup like: Webserver 1 domainname.com = /var/www/html alias = 'www' Webserver 2 office.domainname = /var/www/html poptart.office.domainname.com = /var/www/html2 So, in order for 'www.poptart.office.domainname.com' to work, an 'alias' would have to be setup for the 'poptart.office.domainname.com' directory. Make sense? -- "Live fast, die young, you're sucking up my bandwidth" J.P. Pasnak, CD Warped Systems http://www.warpedsystems.sk.ca http://canopener.ca
Want to buy your Pack or Services from MandrakeSoft? Go to http://wwww.mandrakestore.com
