I'm going to guess that you're just making up the name localhost1. You will actually need a dns entry to your computer. You might want to talk to your system's administrator. If you can't "ping" the name, apache wont be able to do anything with it.----- Original Message ----- From: "Mehmet Fatih AKBULUT" <mfatihakbulut@xxxxxxxxx>
To: <users@xxxxxxxxxxxxxxxx> Sent: Thursday, January 05, 2006 5:34 PM Subject: [users@httpd] Virtual Hosts help needed? hi all, i am a newbie on such subjects :) but i want to ask something to you: NameVirtualHost *:80 <VirtualHost *:80> ServerName debian ServerAlias localhost DocumentRoot /var/www/ </VirtualHost> <VirtualHost *:80> ServerName debian1 ServerAlias localhost1 DocumentRoot /var/wwwwww/ </VirtualHost> these are my virtual host definitions and all i want to do is this : i have two folders under /var/ which are /www and /wwwwww and i want apache to show files under /www when 'http://localhost' is typed on browser. and to show files under /wwwwww when 'http://localhost1' is typed on browser. for 'http://localhost' everything is ok. but when i type 'http://localhost1' get the error below : An error occurred while loading http://localhost1/ Unknown host localhost1 ... how i can achieve ? --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx