Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-07-2009, 03:44 AM   #1
Registered: Jul 2009
Posts: 44
Blog Entries: 2

Rep: Reputation: 0
How to find internal ip for a site hosted on linux server. I have external ip of it.

Hi All,
thanks for all your help

I shall again try to explain it to you.

There are several sites hosted by our organisation.
eg, , , and so on.
There are several servers on which these are hosted.
As I am new to this environment I dont know which site is hosted on which server.
When I tried nslookup, I got routable IP (external IP). Now how can I determine, on which server the site is hosted.
I know a bit of a concept which says, a site can be hosted on several servers too. If it is hosted on several diferent servers, I want their nonroutable (Internal IPs).

Is there any way I can find it.

Last edited by rohit.dhaval1; 07-07-2009 at 06:47 AM.
Old 07-07-2009, 04:38 AM   #2
Registered: Jul 2009
Location: Illinois, US
Distribution: Fedora 11
Posts: 374

Rep: Reputation: 55
I'm not entirely sure what you're asking. If you mean that you know a public IP address that points to a router, and you want to know what local IP on the subnet behind that router you're connecting to, you're out of luck. That's the magic of network address translation.

Still, perhaps you could give us more detail about the situation you're in? For future reference, that post doesn't contain much to go on, and you'll save time and get more assistance if you can give the people you're asking for help as much (relevant) info as possible upfront.
Old 07-07-2009, 04:46 AM   #3
Registered: Jun 2009
Location: INDIA
Distribution: RHEL-5
Posts: 174
Blog Entries: 3

Rep: Reputation: 38
Well Mr Rohit,
you have to explain the situation more clearly and with the exact scenario. I mean give us some example that related to your situation.
Old 07-07-2009, 04:50 AM   #4
Senior Member
Registered: Oct 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
Originally Posted by rohit.dhaval1 View Post
How to find the internal IP for site hosted.
Unless you looking at the site from the "inside" you won't be able to.
Old 07-07-2009, 04:55 AM   #5
Senior Member
Registered: Oct 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
"Internal IP" is another term for a non-routable IP address. Non-routable means that a router will never forward packets to a computer or other device that has a non-routable IP address.

"External IP" is another term for a routable IP address. When people talk about internal and external IPs, they are usually talking about a NAT router. NAT stands for Network Address Translation, and the form of it that most people are familiar with is the form that allows multiple computers to share a single Internet connection via one physical connection to the ISP. If you have a NAT router in your home, each computer connected to it has an internal IP, while the router itself is assigned an external IP. If you didn't have a router, the external IP would be assigned to whatever computer is connected to your ISP.

Hope this helps you understand. Or I'm answering the wrong Q'
Old 07-07-2009, 08:17 AM   #6
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,240
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
could always view the apache configuration files to determine what sites are on which servers..


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
I cannot ping hosted domain (site) at server Peon1 Linux - Newbie 4 10-06-2007 05:39 AM
I cannot ping hosted domain (site) at server Peon1 Linux - Networking 3 10-05-2007 10:21 PM
best way to build a web site hosted by linux? heatherbegazo Programming 7 10-10-2006 11:08 PM
Web site hosted on Linux Robinxh Linux - Newbie 2 06-26-2006 04:46 AM
How to view the web site hosted on win2k server which is a client machine? gogo Linux - Networking 10 10-19-2002 11:48 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:45 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration