httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bagus Nugroho" <bnugr...@aitemail.com>
Subject RE: [users@httpd] Prerequisites for VirtualHost?
Date Fri, 08 Apr 2005 20:22:12 GMT
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@gmail.com]
Sent: Saturday, April 09, 2005 1:56 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Prerequisites for VirtualHost?


On Apr 8, 2005 2:35 PM, Bagus Nugroho <bnugroho@aitemail.com> 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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message