Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any way you can locate the Server of a Webpage? I am wondering this in case I want make a webpage on the same server or something like that.

share|improve this question
what do you mean be "local the server of a webpage" ? Find out its physical location? – Keiran Holloway Jun 20 '10 at 2:01
do you mean, you want to find the hostname of the sever where a webserver is running? – Nikolas Sakic Jun 20 '10 at 6:36

You can often determine the owner or operator of a web site by using the whois command or a whois server.


Or try this Verisign whois server (one of many).

share|improve this answer

Your question is not very clear. If you want to lookup IPs you can use also use tools such as MaxMind's geographic IP location database or ARIN's whois lookup.

share|improve this answer

You are looking for a way to know where the server is actually hosted (the actual hosting provider).

You can try this (using bash):

whois "$(dig +short | grep -m1 '^[0-9]')"

In this case, this returns

OrgName:    Linode

This can be tweaked and improved.

Here's a way to do it in a bash function:


function whathost()
  whois "$(dig +short "$1" | grep -m1 '^[0-9]')"



Note that some results will probably not meaningful, this is because they own the IP address and host their own server.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.