<div>Thankyou you have the exact answer ! :-D<br></div><div></div><div>That's wonderful, cheers. Can you explain why this needs done because nothing I've read anywhere mentioned it :-\</div><div></div><div>Thanks,</div>
<div> Chris</div><br><div class="gmail_quote">2009/7/29 Andrzej Hajto <span dir="ltr"><tlug@defcon1.eu></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Maybe adding 127.0.0.1 labs.localhost in /etc/hosts will help.<br>
<div><div class="h5"><br>
On Wed, Jul 29, 2009 at 10:52 PM, christopher<br>
wyllie<<a href="mailto:cgwyllie@googlemail.com">cgwyllie@googlemail.com</a>> wrote:<br>
> Hello,<br>
> I am currently trying to set up a virtual host on my localhost server. I<br>
> have tried several times but so far no luck. The page I've been following<br>
> just now is this: <a href="http://www.debian-administration.org/articles/412" target="_blank">http://www.debian-administration.org/articles/412</a><br>
> I'm running Debian Etch with Apache 2.2.3. I setup the "NameVirtualHost *"<br>
> as shown at the link I posted. I have the "default" virtual host file in<br>
> sites-available and symlinked to the sites-enabled. Then, I've created a<br>
> "labs.localhost" file and enabled it too. It simply has a different<br>
> ServerName and DocumentRoot.<br>
> Apache restarts no problem but when I try to visit "<a href="http://labs.localhost" target="_blank">http://labs.localhost</a>" I<br>
> get a "could not locate remote server" error in the browser...<br>
> Has anyone got any ideas on how to fix this? Is it a DNS issue or similar?<br>
> It would be useful for me to have virtualhosts but I can't seem to get it<br>
> working :-(<br>
> Thanks for reading,<br>
> Chris<br>
> P.S. Included site config files...<br>
</div></div>> _______________________________________________<br>
> dundee GNU/Linux Users Group mailing list<br>
> <a href="mailto:dundee@lists.lug.org.uk">dundee@lists.lug.org.uk</a> <a href="http://dundeelug.org.uk" target="_blank">http://dundeelug.org.uk</a><br>
> <a href="https://mailman.lug.org.uk/mailman/listinfo/dundee" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/dundee</a><br>
> Chat on IRC, #tlug on <a href="http://irc.lug.org.uk" target="_blank">irc.lug.org.uk</a><br>
><br>
<br>
_______________________________________________<br>
dundee GNU/Linux Users Group mailing list<br>
<a href="mailto:dundee@lists.lug.org.uk">dundee@lists.lug.org.uk</a> <a href="http://dundeelug.org.uk" target="_blank">http://dundeelug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/dundee" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/dundee</a><br>
Chat on IRC, #tlug on <a href="http://irc.lug.org.uk" target="_blank">irc.lug.org.uk</a><br>
</blockquote></div><br>