Mobile app version of vmapp.org
Login or Join

Login to follow query

More posts by @BetL925

2 Comments

Sorted by latest first Latest Oldest Best

 

@Si4351233

Rather late, but this question came up in the sidebar and the accepted answer is not really correct.

Subdomains, as far as the Internet is concerned, are completely separate from each other. a.example.com and b.example.com can be hosted on the same server, on a different server, or on a different continent. It's just a question of how the DNS is set up. I have a few cases where the production example.com is at the provider and the new.example.com runs from the server on my desk.

How a provider sets up the file structure is entirely up to them. example.com/foo/ and example.com/bar/ is common, as is domains/foo.example.com/ and domains/bar.example.com/.

If you have VPS (virtual private server) with root access you can set it up any way you feel like, it's just a matter of putting the correct path in the webserver's config file.

10% popularity Vote Up Vote Down


 

@Kevin317

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme