Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

On shared web hosting, are all subdomains like foo.example.com and bar.example.com always hosted on the same server (same IP address)?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

They typically are. They're usually subdirectories within the root web directory or one level below that. Some hosts even let you choose where in your directory structure to put them.

share|improve this answer
Ok thanks and what about example.com? In which subdirectory is it? Is it directly in root web directory? –  Zistoloen Apr 17 '13 at 11:44
That is your main website so it's in your root web directory –  John Conde Apr 17 '13 at 11:45
Ok thank you John Conde! –  Zistoloen Apr 17 '13 at 11:47
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.