How would i ping a minecraft server on my site?

I need a way to ping servers that people upload to my site. How would i do this?

Below I explain how you can ping your server, or someone else's server.

Open your command prompt, or terminal, and then type

ping www.websitename.com

Next hit enter on your keyboard.

Replace website name with a domain name of your choice.

If the website has something different than a.com, then replace the.com.

You can also ping your server's ip address, or someone else's server ip address.

For example:

ping 67.345.134.13

Hit enter on your keyboard.