Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-28-2011, 03:57 PM   #1
Registered: Jul 2010
Distribution: openSUSE 11.4
Posts: 33

Rep: Reputation: Disabled
External ip resolves to internal name


I have several machines behind a router with a static ip address. The machine with internal address runs DNS and Apache servers, with DNS resolving names inside the local network; also the router forwards port 80 to this machine. Apache is configured for two virtual hosts on two different (internal) names.

I recently noticed that my static ip resolves to the internal name of the *.0.10 machine ("nexus"), meaning that anybody trying to access it gets a "can't establish a connection to the server at nexus" message.

Where did I mess up? DNS or Apache configuration?

I need to give external access only to one of the virtual hosts. Is it possible without getting a valid domain name?

Sorry if the explanation is vague,
Old 09-28-2011, 05:05 PM   #2
Senior Member
Registered: May 2009
Location: WV, USA
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,189
Blog Entries: 21

Rep: Reputation: 151Reputation: 151
This should be posted in the networking section.

What do you mean by "resolves to the internal name"? If you do this from inside, that might be what you are supposed to get. Do it from somewhere entirely away from your network, like anyone else on the internet would see. Unless you arranged otherwise, it should resolve to some generically numbered hostname at a domain your ISP owns, or if they are clueless (describes about 70% of them) about DNS, nothing at all.
Old 09-28-2011, 05:23 PM   #3
Registered: Mar 2008
Posts: 20,320

Rep: Reputation: 3214Reputation: 3214Reputation: 3214Reputation: 3214Reputation: 3214Reputation: 3214Reputation: 3214Reputation: 3214Reputation: 3214Reputation: 3214Reputation: 3214
dig or nslookup name
Old 09-28-2011, 06:20 PM   #4
Registered: Jul 2010
Distribution: openSUSE 11.4
Posts: 33

Original Poster
Rep: Reputation: Disabled
Sorry, this was the stupidest mistake. I totally forgot about index.html redirecting to a url with "nexus" in it.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Moved offices. External websites/internal ssh both work, but internal http doesn't. jasonws Linux - Networking 3 08-04-2011 04:26 PM
How to change an xfs journal from external to internal if the external log is gone rakan6 Linux - General 1 01-19-2011 06:59 PM
[SOLVED] Internal And External Commands.. smaj84_1 Linux - Newbie 6 07-29-2009 10:38 AM
Routing internal to external Harvfive Linux - Networking 0 11-07-2008 10:09 AM
internal box to external IP's? TigZy Linux - Networking 4 09-29-2004 07:39 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration