it's look like this : #httpd.cond #==================================== # Use name-based virtual hosting. # NameVirtualHost *:80 # # VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. # The first VirtualHost section is used for requests without a known # server name. # <VirtualHost *.80> DocumentRoot /www/docs/host2 ServerName testVhost </VirtualHost> ;host ;====================== 127.0.0.1 localhost testvhost then when ii try http://testvhost, it was same as http://localhost after follow recomandation, and all is fail, the i'm gues, it was required additional setting before we can set virtualhost. It's right? Matur Nuwun -----Original Message----- From: Joshua Slive [mailto:jslive@xxxxxxxxx] Sent: Saturday, April 09, 2005 1:56 AM To: users@xxxxxxxxxxxxxxxx Subject: Re: [users@httpd] Prerequisites for VirtualHost? On Apr 8, 2005 2:35 PM, Bagus Nugroho <bnugroho@xxxxxxxxxxxx> wrote: > Previously, before edit my host file, error : dnserror > then after edited host file, there are no different on both of host, it look like just refer to localhost. If you don't have DNS setup properly, nobody else will ever be able to see your vhosts. If you do have DNS setup problem, then show us the relevant section of your config and tell us exactly what you type in your browser and exactly what the result is, including relevant access and error log excerpts. Joshua. --------------------------------------------------------------------- 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 --------------------------------------------------------------------- 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