RE: [PHP] newbie -help!: multiple local domains under apache] (st ill!)
| From: | Hiew, Andy | Date: | Wed, 16 Aug 2000 17:42:01 +0000 |
| Subject: | RE: [PHP] newbie -help!: multiple local domains under apache] (st ill!) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-12075@lists.php.net to get a copy of this message | ||
There have to be hundreds of FAQs out there that answer this question.
Check ApacheWeek or DevShed or some similar site. Even a search on
metacrawler will probably be fruitful.
This question is not at all PHP related, and should not be addressed on this
list.
> -----Original Message-----
> From: Nick [mailto:n.curry@ucl.ac.uk]
> Sent: Wednesday, August 16, 2000 11:46 AM
> To: Kurt Boyer; php-general@lists.php.net
> Subject: Re: [PHP] newbie -help!: multiple local domains under apache]
> (still!)
>
>
> HI again,
>
> i was suggested to do the following to use virtualhosts without a name
> server:
>
> ### STEP 1 ###
> /etc/hosts file
> 127.0.0.1 localhost.localdomain localhost
> 0.0.0.0 nick
> 192.168.0.1 badboy badboy.carrierworld.com
> www.carrierworld.com www.niceguy.com www.foobar.com # all in one line
>
> ### STEP 2 ###
> httpd.conf file
>
> # just the virtual host section
>
> NameVirtualHost 192.168.0.1
>
> <VrtualHost 192.168.0.1>
> ServerAdmin badboy@carrierworld.com
> DocumentRoot
> /home/carrierworld/old_site/htdocs
> <Directory
> "/home/carrierworld/old_site/htdocs">
> Options Indexes FollowSymLinks +Includes
> AllowOverride None
> </Directory>
> ServerName badboy.carrierworld.com
> ErrorLog logs/carrierworld_old-error_log
> CustomLog logs/carrierworld_old-access_log
> common
> </VirtualHost>
>
>
>
> Yet this doesn't work: whilst art least httpd starts this
> time, netscape
> give me the error:
>
> TCP error: server not found
> The sever may be down or temporarily unavailable
>
> evenb thoguh httpd is working......
>
> any ideas whi this is ????
>
> cheers for all your help.......
>
>
> nick
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>