How to find internal ip for a site hosted on linux server. I have external ip of it.
Linux - NewbieThis 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!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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, www.xxxxx.com , www.xxxxxx.net , www.xxxx-tools.com 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 www.xxxxx.com, I got routable IP 78.xxx.xxx.xxx (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.
Please
Last edited by rohit.dhaval1; 07-07-2009 at 05:47 AM.
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.
"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'
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.