Jump to content

Archived

This topic is now archived and is closed to further replies.

M109uk

Virtual Hosts?!?

Recommended Posts

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:

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.