in 41567755$0$44109$5fc3050@dreader2.news.tiscali.nl Michel posted:
> Hello,
>
> I'm a newby on webhosting and apache. I've got my Virtual Host's
> working on namebased. They can be accessed on the internet but when i
> type the domain in the browser of the webserver i get an error that
> the server can not be reached.
>
> DNS is setup correct because i can connect to any other server. I
> need to get this fixed because the webmail doesn't function at this
> moment.
>
> Anybody an idea?
Using domain names to access a server on the LAN (or machine) you are
surfing from doesn't work right without tweaks to the browsing machine.
The DNS is basically telling your browser client to look at the web side
of your firewall. That is like trying to see your own eyeballs without
using a mirror. Any browser inside the LAN must use the local IP range
to see the Apache server.
It is for just this reason that I have an agreement with a friend to
allow ssh into each others servers to allow each of us to "go out, turn
around," and see what the outside of our firewalls look like.
To fix this locally the machine inside the firewall with the browser
must have a hosts file with the domain names pointing to the local IP
address for the server. Sort of a "locals only" DNS entry.
If this is all on one machine then you need to set the hosts file to
point the domains at "localhost" or 127.0.0.1
--
Stephen S.
-------------------------<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: Domains are not show local, but do show on internet