Jump to content


Need help with virtual hosts.

  • Please log in to reply
1 reply to this topic

#1 ApollyonQ

  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 02 September 2003 - 07:28 PM

I\'ve got a win2k server machine, which is running AppServer v2.0.0 (Apache 1.3.27). This is running fine. I\'ve made a nice page full of links, and using it as the startpage in my browser.

I\'ve also got a static IP-address. When I\'m at work, and I type that IP-address (for example: my browser, I also get that startpage.

However... I\'ve also got a domain name registered (for example www.bih.net), and used the nameservers to point it to my own IP-address. I\'ve got a nice subdir in my www-root called bih.

I\'ve tried:
NameVirtualHost *

<VirtualHost *>
ServerName www.bih.net
DocumentRoot f:/appserv/www/bih/

and I\'ve tried

ServerName www.bih.net
DocumentRoot f:/appserv/www/bih/

But neither seems to work when I type www.bih.net into my browser, I keep getting my linkpage... Could you please tell me what I\'m doing wrong here?


  • Members
  • PipPip
  • Member
  • 21 posts
  • LocationMissouri, USA

Posted 22 October 2003 - 06:23 AM

Looks like it works now. Whad\'ja hafta do?
Hope this sheds some light, [br]LAMP [br]******************************* [br]Warning: main(): Failed opening \'sig.php\' for inclusion (include_path=\'.:/usr/local/share/pear\') in /usr/local/www/data/phpfreaks/forums/topic.php on line 435

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users