domain / subdomain name question...

Aves

Lifer
Feb 7, 2001
12,232
30
101
somedomain.com/whatever is typically just a folder or subdirectory off of somedomain.com.

Whereas whatever.somedomain.com can actually have a different A Record in it's zone file and can be pointed to a different IP, hence a different webserver.
 

d33pt

Diamond Member
Jan 12, 2001
5,654
1
81
or whatever.domain.com could be a hostheader pointing to another dir on the same webserver
 

Mucman

Diamond Member
Oct 10, 1999
7,246
1
0
Simple explanation...

domains and subdomains map to IPs

The slashes equal directories...

I have a subdomain that points to my home IP. in fact I have 3 since I am doing virtual hosting with an apache webserver.

Subdomains offer much more flexability IMHO

so... in other words...

www.domain.com = server1
www2.domain.com = server2

Those are two seperate machines

www..domain.com/whatever is just accessing the whatever directory off of the root of the website on server1