In this tutorial we will teach you how to ping a website. This is used for many reasons such as identifying the IP address of a website, confirming if a website is online and reporting back to your network, or just to find out a website’s IP address for testing/information purposes.
To ping a website, first open the computer’s command prompt. Open the “Start” menu, click on “All Programs,” then click on “Accessories” and finally click on “Command Prompt.” If you see a black box with a blinking cursor, you have successfully opened the command prompt.
Type “ping,” then a single space and then the name of any website or IP address. It is not necessary to include “http://” at the beginning of the address, but you should include the “www” portion of the address. A good ping command should read as follows:
Check for any typing errors and press the “Enter” key.
If it is unable to ping the server, the output will read “ping request could not find host.” If the command pings the server successfully, the output will look like this:
Pinging www.example.com [12.34.567.890] with 32 bytes of data:
1.Reply from 12.34.567.890: bytes=32 time=41ms TTL=54
2.Reply from 12.34.567.890: bytes=32 time=40ms TTL=54
3.Reply from 12.34.567.890: bytes=32 time=39ms TTL=54
4.Reply from 12.34.567.890: bytes=32 time=39ms TTL=54
Ping statistics for 12.34.567.890:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 39ms, Maximum = 41ms, Average = 39ms
The key part of the output is the “ping statistics” section at the bottom. A standard Windows ping command sends out four packets of information. The statistics tell you how many of the packets were received by the server or site you are pinging, and the percentage of packet loss the command registered.
Ideally, for a healthy Internet connection, you want to see four packets sent, four packets received, and 0% packet loss. In most cases, this will indicate that your computer’s Internet connection is working fine. Any packet loss could be an indication of a connection problem.
It’s not safe for your website IP to be publicly pinged. Hackers and malicious users can find out your IP by the above tutorial in a few seconds and send DDoS attack towards it, knocking it offline and rendering it unreachable. TrentaHost INC., sells DDoS protection to protect your website/VPS from such DDoS Attacks, assuring you 100% uptime and reliability. You can see our DDoS offerings here and speak to our sales agents for more information.