M109uk Posted February 15, 2003 Share Posted February 15, 2003 Hi all, 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: Quote Link to comment https://forums.phpfreaks.com/topic/154-virtual-hosts/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.