Skip to content
Help Center

How to ping a domain: Quick diagnostic guide 🌐

Website not loading? Learn how to use the Ping command to check the connection to your server at Bacan. Step-by-step guide for Windows and Mac.

The Ping command is one of the oldest and most useful diagnostic tools in the hosting world. If you feel your website is loading slowly or not loading at all, running a ping is the first step to finding out what's happening.

At Bacan.com, here's how to use it like a professional to verify the connection to your server.

🧠 What is Ping and what is it used for?

Pinging is like sending a "Hello, are you there?" to your server. Your computer sends a small data packet to your domain address and waits for the server to respond.

This command lets you:

  • Check if the server responds: If you get a response, the server is up and connected to the internet.

  • Measure latency (lag): It shows how long (in milliseconds) it takes for data to travel and return.

  • See the IP address: It's the quickest way to find out which IP address your domain currently points to.


🛠️ How to ping step by step

No installation needed — your computer already has this tool built in.

On Windows 🪟

  1. Press the Windows key and type cmd, then press Enter.

  2. In the black window that appears, type: ping yourdomain.com (replace with your actual domain name).

  3. Press Enter.

On macOS or Linux 🍎🐧

  1. Open the Terminal application (you can search for it in Spotlight with Cmd + Space).

  2. Type: ping yourdomain.com.

  3. Press Enter. (Note: on these systems, ping doesn't stop on its own — press Ctrl + C to stop it).


📊 How to read the results?

  • Reply from [IP]: The server heard and responded to you. Everything is fine!

  • Time (time=30ms): The lower this number, the faster the connection.

  • Request timed out: The server didn't respond. It may be down, there may be a firewall block, or the domain may not be pointing correctly.

  • Lost packets: If you sent 4 and received 2, you have an unstable connection.


💡 Bacan support tips

  • Firewall blocks: If you run too many pings in a row, our security firewall may temporarily block your IP thinking it's an attack. If this happens, contact us to unblock you.

  • Ping vs Browser: If ping responds fine but the website doesn't load in Chrome, the problem isn't connectivity — it's likely a PHP error or database issue with your site.

  • Test from another network: If ping fails, try it from your mobile phone using 4G/5G data. If it works there, the problem is with your local internet provider.


📌 Don't forget

  • Purpose: Verifies basic connectivity between you and the server.

  • Speed: Runs in under 10 seconds from any computer.

  • Diagnosis: Helps determine whether the problem is the server or your local connection.

  • IP: Instantly confirms where your domain is currently pointing.