httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Global Point Solutions <>
Subject [users@httpd] No Page Display
Date Tue, 21 Oct 2003 16:39:19 GMT
I am in deed grateful for your assistance. I'm sorry that my VH Containers were not on that
post. I did include them with the original post. They are attached here. 


P.S. Yes I did everything as instructed but still have the same results and not entries in
the error logs for guidance???

-----Original Message-----
>From: Global Point Solutions []
>Thank you for your response. I have exhausted the past two 
>days to find 
>the solution to this problem. No matter how I try I'm unable to get a 
>page to display. I gone through virtual  host set up and have read the 
>trouble shoot ing section a on a number of  apache documents. 
>Have gone 
>to google and have followed what I've found there. Somewhere in the 
>configuraton  I've gone astray but I'm unable to find it. I truly need 
>this forum's assistance.

What was wrong with the previous respondant's solution? Did it not work?
As he explained, name-based virtual hosting (NBVH) needs a hostname to
work on. If you just type "localhost" into the browser, you will get the
first VH in your config by default.

If you want to be able to see various NBVHs via localhost (i.e. not
using a network) then you will have to create aliases for each VH and
put these names in /etc/hosts (or Hosts on windows), e.g.

in /etc/hosts: localhost mysite1

in httpd.conf:

NameVirtualHost *

<VirtualHost *>
  ServerAlias mysite1

Now requests from the web to your real IP address will match while requests to http://mysite1/ (which is really
localhost) will match the ServerAlias.

If this doesn't fix your problem, then it sounds like it's time to post
your config file... If you prefer, you can mail it to me as an
attachment and I'll take a look.

Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

>>Jonas Eckerman wrote:
>>>>On Tue, 21 Oct 2003 13:02:23 -0500, Global Point Solutions wrote:
>>>>>>PROBLEM: I'm unable to view any of the sites with the exception of
>>>>>>"" when I do "localhost" from the server.
>>>>When accessing a named based virtual host you must access it through 
>>>>it's name. When accessing you server without the name of one of the 
>>>>virtual hosts, you get the pages for the default virtual host, wich 
>>>>is the first one in the config.
>>>>Try accessing them with and 

View raw message