[dundee] Apache2 VirtualHosts setup... Any help?

christopher wyllie cgwyllie at googlemail.com
Wed Jul 29 23:05:15 UTC 2009


Thankyou you have the exact answer ! :-D
That's wonderful, cheers. Can you explain why this needs done because
nothing I've read anywhere mentioned it :-\
Thanks,
  Chris

2009/7/29 Andrzej Hajto <tlug at defcon1.eu>

> Maybe adding 127.0.0.1 labs.localhost in   /etc/hosts will help.
>
> On Wed, Jul 29, 2009 at 10:52 PM, christopher
> wyllie<cgwyllie at googlemail.com> wrote:
> > Hello,
> > I am currently trying to set up a virtual host on my localhost server. I
> > have tried several times but so far no luck. The page I've been following
> > just now is this: http://www.debian-administration.org/articles/412
> > I'm running Debian Etch with Apache 2.2.3. I setup the "NameVirtualHost
> *"
> > as shown at the link I posted. I have the "default" virtual host file in
> > sites-available and symlinked to the sites-enabled. Then, I've created a
> > "labs.localhost" file and enabled it too. It simply has a different
> > ServerName and DocumentRoot.
> > Apache restarts no problem but when I try to visit "
> http://labs.localhost" I
> > get a "could not locate remote server" error in the browser...
> > Has anyone got any ideas on how to fix this? Is it a DNS issue or
> similar?
> > It would be useful for me to have virtualhosts but I can't seem to get it
> > working :-(
> > Thanks for reading,
> >   Chris
> > P.S. Included site config files...
> > _______________________________________________
> > dundee GNU/Linux Users Group mailing list
> > dundee at lists.lug.org.uk  http://dundeelug.org.uk
> > https://mailman.lug.org.uk/mailman/listinfo/dundee
> > Chat on IRC, #tlug on irc.lug.org.uk
> >
>
> _______________________________________________
> dundee GNU/Linux Users Group mailing list
> dundee at lists.lug.org.uk  http://dundeelug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/dundee
> Chat on IRC, #tlug on irc.lug.org.uk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.lug.org.uk/pipermail/dundee/attachments/20090729/08b53f03/attachment.htm 


More information about the dundee mailing list