Jump to content


Virtual Hosts?!?

  • Please log in to reply
No replies to this topic

#1 M109uk

  • New Members
  • Pip
  • Newbie
  • 4 posts

Posted 15 February 2003 - 06:06 PM

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 *>

    DocumentRoot "H:WebsitesForum"

    ServerName forum.mydomain.com


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:

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users