Subdomain

From The Uniform Server Wiki
Revision as of 04:59, 20 April 2007 by Dimo414 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

To setup a subdomain on the Uniform Server, your best option is to use a VirtualHost. Once your VirtualHost is set up, you need to also configure your domain, normally with a CNAME entry, pointed to the same location as the root domain. This basically tells the DNS to direct requests to the subdomain to the same location as requests to the main domain. Therefore, both requests end up going to your Uniform Server.

Example DNS Records:

HOST TYPE VALUE
example.com A 255.255.255.255
dev.example.com CNAME example.com