You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Paul van Ramshorst <pv...@telusplanet.net> on 2002/03/05 02:02:11 UTC
subdomains and vhosting
I have followed the instructions laid out in the FAQ, but there is no mention if I should make any adjustments to my commonhttpd.conf.
I used this template for my server ( One IP, two sites)
NameVirtualHost 111.22.33.44
<VirtualHost 111.22.33.44>
DocumentRoot /www/domain
ServerName www.domain.tld
</VirtualHost>
<VirtualHost 111.22.33.44>
DocumentRoot /www/subdomain
ServerName sub.domain.tld
</VirtualHost>
Should I be changing or adding anything else? Commonhttpd.conf asks for my path for the document root, should I just leave the primary one there?
Sub-domain should be registered tomorrow so I'll be able to test it then.
Thanks in advance,
Paul van Ramshorst