Re: Apache configuration problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2008-05-19 at 12:55 +0100, Paul wrote:
> Hi,
> 
> I'm trying to set Apache to have a number of domains on the same box.
> The box is not outward facing and I'm trying to use 127.0.0.1 as the
> address.
> 
> I have the Listen directive set to 127.0.0.1:80, NameVirtualHosts set to
> 127.0.0.1:80 and a pile of VirtualHosts all set to 127.0.0.1:80
> 
> If I try in Firefox http://127.0.0.1 - it will come up with the first of
> the VirtualHosts. However, if I have 127.0.0.1/test123, Apache complains
> that the URL test123 is not on this.
> 
> Anu help onm this would be appreciated.
> 
> TTFN
> 
> Paul
> -- 
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Provided you set up your virtualhosts properly with a documentroot and
a servername the best way to access them is to put the servername you 
used into your hosts file so that your system can find them. If you are
not sure about how to do that I would suggest reading the man page. Once
you have them in the host file (or set up in dns records) simple use the
url http://SERVERNAME and the virtualhost index file will be served to
your browser

Hope that helps you
Donald Reader

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux