Use the ping command to query:
In "Start"-"Run" enter cmd and then type ping www.anzhuo8.net in the pop-up box so
So the following reply from 61.155.149.85 is the IP address of the other side, of course, if there is a CDN acceleration can not find the real IP address
Nslookup An example of a query IP address.
Are you just going to click on this page for a little geek spirit, or are you anxious to know the answer to this question? Today's Super Quiz article pushes attention to this answer and answers how to know how multiple Web sites are bundled to the same IP address.
Today's question and answer session comes from our selfless sponsor-a segmented stack Exchange site, driven by a question and answer team community.
Problem
A superuser's reader "Jquerylearner" wants to know how to query the IP address of a Web site:
If I want to know the IP address of a website, one way is to use the ping command query for this website. For example, if I want to know the IP address of google.com, I can ping it by command-line mode.
In this way, 74.125.236.195 is Google's IP address. If I want to know the IP address of superuser.com, I will use the same method, then I get the 198.252.206.16 address. If I put this IP address in the browser as a URL, my browser can't Take me to the superuser.com.
So, who can tell me how to get the right IP address? What does Jquerylearner need to do to find the right website IP address?
Reply
Superuser contributors Paul and Lesca answered the question, and at first Paul said:
Your initial assumption is that all sites can be accessed directly through IP addresses, but in fact, this is not the case.
In many cases (I'm sure most of the cases), a site on an IP address relies on the domain name of the site you requested, for example, If you ask for superuser.com, you first parse to an IP address, and then construct a request to the IP address required to specify the page, which looks like the following request.
The first line says "Get the first page of the corresponding Web site." The second line says "request superuser.com this site."
That's why a Web server can place many sites that use the same IP address, as an example of a stack exchanges site: either, or all sites are placed on their respective servers, you can ask for the sites you need. If you simply enter an IP address, you cannot get anything else, because you have not stated which site you are requesting. In this case, you may get a set default URL, or simply return to an error page.
One way you can change your hosts file is to redirect the address yourself, rather than having a third party do it for you.
For example, if you edit
You can write to:
In this way, if you enter superuser.com on the browser, it will first look at the hosts file to resolve the IP address, and then still connect to the server through the domain name.
Let's take a look at Lesca's answer:
The best way to get the IP address of a Web site is to use the nslookup command, for example:
Want to know why you can't access superuser directly via IP address?
This is because the Web server does not allow users to use IP addresses directly. Perhaps this is because the IP address is bound to the other Web site (interpretation on StackOverflow) If you use the IP Address Reverse query tool, you can find the corresponding binding site.
Here's an example of what I mean by correctness: