How to find which IP address your website is being served on?

Sometimes you may need to find out which IP address your website is being served from, to see if DNS has updated following a move or to find out where to FTP in to.

From a Windows computer, open a command prompt.

Type "ping www.yourwebsite.com" (inserting you own website address) and press enter.

You should see a response similar to the following :-

Pinging www.yourwebsite.com [185.185.84.2] with 32 bytes of data:
Reply from 185.185.84.2: bytes=32 time=19ms TTL=54
Reply from 185.185.84.2: bytes=32 time=18ms TTL=54
Reply from 185.185.84.2: bytes=32 time=20ms TTL=54
Reply from 185.185.84.2: bytes=32 time=19ms TTL=54

Ping statistics for 185.185.84.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 18ms, Maximum = 20ms, Average = 19ms

The IP address in square brackets following "www.yourwebsite.com" in this case 185.185.84.2 is the IP address your computer is getting from your ISP for your website.

If you are getting the wrong or old IP address for your website you can flush your computers DNS cache by typing "ipconfig /flushdns" at the command prompt and press enter.

You should see a response similar to the following :-

Windows IP Configuration

Successfully flushed the DNS Resolver Cache.

Then retry the ping test above. Once you are getting the correct IP address you know DNS has updated successfully.

Was this answer helpful? 0 Users Found This Useful (0 Votes)