[Apache] Win32 Virtual Host - Sub Domain

From: Date: Sat, 21 Apr 2001 15:08:43 +0000
Subject: [Apache] Win32 Virtual Host - Sub Domain
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-49673@lists.php.net to get a copy of this message
Sorry for the OT post but this has me stumped and Google is not giving me any good leads. I am trying to setup Apache with PHP on Win32 (don't ask why). Anyhow, PHP is working great but virtual hosting is not going so well. When the browser brings up http://localhost/ it reads from [Apache Root]/apache/htdocs as defined by: #*** Good Virtual ********************************** <VirtualHost *> ServerAdmin webmaster@localhost DocumentRoot "C:/Program Files/Apache Group/Apache/htdocs/" ServerName localhost ErrorLog logs/error_log CustomLog logs/access_log common </VirtualHost> #*************************************************** What are are tring to do is setup http://test.localhost/ and it is not working here is the virtual host and apache restart ... #*** Bad Virtual *********************************** [Sat Apr 21 09:55:33 2001] [error] Cannot resolve host name est.localhost --- ignoring! The Apache service is restarting. The Apache service has restarted. <VirtualHost test.localhost> ServerAdmin webmaster@localhost DocumentRoot "C:/Program Files/Apache Group/Apache/htdocs/test/" ServerName test.localhost ErrorLog logs/test.localhost-error_log CustomLog logs/test.localhost-access_log common </VirtualHost> #*************************************************** Any thoughts on getting Win32 to resolve that test.localhost name ? Thanks

« previous php.general (#49673) next »