i have a server running and i want 2 hosts, well to be more specific i have a website www.mydomain.com and i want to make a sub domain forum.mydomain.com, i have set all this up with my DNS server and everything and have placed the following in my conf file:
NameVirtualHost * <VirtualHost *> DocumentRoot "H:WebsitesBioCoders" ServerName www.mydomain.com </VirtualHost> <VirtualHost *> DocumentRoot "H:WebsitesForum" ServerName forum.mydomain.com </VirtualHost>
if tried to add \'ServerAlias\' to the forum virtual host and everything but all i get is a blank screen telling me that it can not find it and to hit refresh or try again another time?!? the main host works but not this one
i am running Apache 2.0.43 with PHP 4.3.0 and MySQL on Windows XP Home.
thanks for any help
ok i think i have it working now, just some typo\'s :roll: