Re: [Hampshire] Local webserver problem

Top Page

Reply to this message
Author: Tony Smith
Date:  
To: lug, Hampshire LUG Discussion List
CC: 
Subject: Re: [Hampshire] Local webserver problem
> > If I put the web server IP
> > address in I get the apacheweb server "Its works!" message.
>
> Sounds like you've got name-based virtual hosting turned on; this means
> that when you give it a bare IP address, the daemon responds with its
> default page ("It works") because it can't determine which virtual host
> you want...
>
> Vic.


Yes, its the same problem I have when accessing my webserver from inside my
firewall, a dns lookup gives me the external address of the router

The solution would be to sort out the internal DNS forwarder but until I get
my head round bind the workaround is to put the domain name in my
local 'hosts' file with the local IP address and comment it out when I'm
outside the firewall.

Unless anybody else has any easy ways to achieve this?


--
Tony Smith
Software Development Engineer
TSEU Group
T 0845 2012 711
F 0845 2012 811
E tony.smith@???

________________________________________________________________________
This e-mail is confidential and intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of TSEU Group Ltd / Microsense Systems Limited / Traffic Signals UK Limited. If you are not the intended recipient, be advised that you have received this e-mail in error and that any use, dissemination, forwarding, printing, or copying of this e-mail (and any attachments) is strictly prohibited.
_______________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet.