You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Hytham Shehab <hy...@menanet.net> on 2002/02/13 15:57:40 UTC

how can i setup a virtual host on XP?

hi gurus,
    well, i read the FAQs about setting up virtual host on Win32, but when i change the httpd.conf section, nothing of the newly set virtual host are running, i think that there is also a need to adjust SOMETHING in the Windows itself, am i right?

Please tell me...

Thanks in advance.

Hytham Shehab

Re: how can i setup a virtual host on XP?

Posted by Hytham Shehab <hy...@menanet.net>.
hi gurus, hi Jarecsni,
    wll, i add 1.1.1.1     hawksnest into hosts and the followings into httpd.conf
<VirtualHost 1.1.1.1>
    ServerAdmin webmaster@hawksnest.com
    DocumentRoot "D:/Program Files/Apache Group/Apache/htdocs/www/docs/hawksnest"
    ServerName hawksnest
    ErrorLog logs/hawksnest.com-error_log
    CustomLog logs/hawksnest.com-access_log common
    ServerAlias hawksnest www.hawksnest.com
</VirtualHost>



RE: how can i setup a virtual host on XP?

Posted by Jarecsni János <ja...@chello.hu>.
On Win2K edit the file WINNT/system32/Drivers/etc/hosts
This file is used before doing a dns lookup.

cheers,
--
Jarecsni, János
MORGAN HILL CONSULTING, Internet Applications Unit
mailto:Jarecsni.Janos@morganhillconsulting.hu
http://morganhillconsulting.hu/ :: Phone+Fax: + 36 1 484 0392 

  -----Original Message-----
  From: Hytham Shehab [mailto:hythamshb@menanet.net]
  Sent: Wednesday, February 13, 2002 3:58 PM
  To: apache mailing lists
  Subject: how can i setup a virtual host on XP?


  hi gurus,
      well, i read the FAQs about setting up virtual host on Win32, but when i change the httpd.conf section, nothing of the newly set virtual host are running, i think that there is also a need to adjust SOMETHING in the Windows itself, am i right?

  Please tell me...

  Thanks in advance.

  Hytham Shehab