Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Domains are not show local, but do show on internet

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Invalid Command: MonoApplications (in httpd.conf)  
Author Message
mvdh

External


Since: Sep 26, 2004
Posts: 7



(Msg. 1) Posted: Sun Sep 26, 2004 1:01 pm
Post subject: Domains are not show local, but do show on internet
Archived from groups: alt>apache>configuration (more info?)

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?

--

Met vriendelijke groet,
Michel van der Heijden (mvdh@emeni.nl)

 >> Stay informed about: Domains are not show local, but do show on internet 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Sun Sep 26, 2004 1:01 pm
Post subject: Re: Domains are not show local, but do show on internet [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2004-09-26, Michel <mvdh.RemoveThis@emeni.nl> wrote:
 > 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.

With so little information is quite difficult to make a diagnosis,
I think that there are various possibilites: 1. you "bound" the
server to the external IP only, so he refuses connection from the
loopback interface, 2. your connection to the internet is NATted
and this means that you can't connect using the external IP or your own
machine doesn't resolve addresses correctly. Only the first problem can
be solved by Apache configuration. So first check which one is the case.

Davide

--
It's no wonder they call it WinNT; WNT = VMS++;
-- Chris Abbey
%
Peace, Love and Compile the kernel...
-- Justin L. Herreman<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Domains are not show local, but do show on internet 
Back to top
Login to vote
not18

External


Since: Dec 17, 2003
Posts: 8



(Msg. 3) Posted: Sun Sep 26, 2004 1:01 pm
Post subject: Re: Domains are not show local, but do show on internet [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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 
Back to top
Login to vote
mvdh

External


Since: Sep 26, 2004
Posts: 7



(Msg. 4) Posted: Sun Sep 26, 2004 1:14 pm
Post subject: Re: Domains are not show local, but do show on internet [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

 > 2. your connection to the internet is NATted and this means that you can't
 > connect using the external IP or your own
 > machine doesn't resolve addresses correctly.

There's a router with NAT active indeed. Should i change that?

--

Met vriendelijke groet,
Michel van der Heijden (mvdh@emeni.nl)<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Domains are not show local, but do show on internet 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 5) Posted: Sun Sep 26, 2004 1:14 pm
Post subject: Re: Domains are not show local, but do show on internet [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2004-09-26, Michel <mvdh RemoveThis @emeni.nl> wrote:
 > There's a router with NAT active indeed. Should i change that?

First check if that is _actually_ the case. If you don't mantain the
router I think that you should act in a different way. But, if that's
the case, the problem has nothing to do with the Apache configuration
and you should ask your ISP helpdesk or some other NG. And don't mess
the configuration of your router unless you know how to turn it back.

Davide

--
Here's your cable. We made it fifty feet long, just in case. In case
what, in case tectonic movement makes the serial ports farther apart?
-- Carl Jacobs<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Domains are not show local, but do show on internet 
Back to top
Login to vote
mvdh

External


Since: Sep 26, 2004
Posts: 7



(Msg. 6) Posted: Sun Sep 26, 2004 2:16 pm
Post subject: Re: Domains are not show local, but do show on internet [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

 > First check if that is _actually_ the case. If you don't mantain the
 > router I think that you should act in a different way. But, if that's
 > the case, the problem has nothing to do with the Apache configuration
 > and you should ask your ISP helpdesk or some other NG. And don't mess
 > the configuration of your router unless you know how to turn it back.

I'm know my way in the hardware, it's just Apache that's new to me. Wink
Thnx for the tip. I'll try it tomorrow....

--

Met vriendelijke groet,
Michel van der Heijden (mvdh@emeni.nl)<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Domains are not show local, but do show on internet 
Back to top
Login to vote
mvdh

External


Since: Sep 26, 2004
Posts: 7



(Msg. 7) Posted: Tue Sep 28, 2004 6:53 pm
Post subject: Re: Domains are not show local, but do show on internet [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

 > 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

Thank you. This was the trick for us. All works well. Thank you.

--

Met vriendelijke groet,
Michel van der Heijden (mvdh@emeni.nl)<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Domains are not show local, but do show on internet 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Show other image with .htaccess - Hi, if got a Online WYSIWYG Editor in a Subdirectory and if i add pictures it tries to load them from its directory. so i tried to catch its calling by rewriting the uri. original: /name1/admin/editor/dialog/images/.* should be: /name1/images/.* i..

can't get symlinks to show up correctly - I'm running a fresh, vanilla install of Apache on Openbsd OpenBSD foo.mydomain.com 3.3 GENERIC#44 i386 Apache is running and I can see the install welcome page. From what I've read in the documentation the following (default) settings in httpd.conf..

show all virtual hosts actually served ??? - Hi, isnīt there a tool that can show me all vhosts that are actually served with an (unknown) apache install? I know, that I could look through the config files, but I need something very fast that helps me check with one glance, which vhosts are..

Apache+SSL+IE. IE wont show SSL-Page - Hi! I got some Problems with my Apache. At the moment we are Runing a Apache 2.0.48 with mod_ssl. The certificat is finaly installed and all ist working fine... but not on Internet Explorers. Opera, Mozilla and FireFox are displaying the Pages..

[2.0.47] Show access-restricted directories - Hi, following situation at DocumentRoot: / /foo/ /bar/ /file.c If I make "/foo" only accessible via ModAuth or restrict access via allow/deny, Apache 2.x hides the directory "foo" if I visit "/" and have a directory list...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]