In CMD or Terminal, type:

ping website.com

Replace website.com by the website URL you would like to test.
 

To end the ping:

CTRL+C

Visit https://www.iplocation.net to find out the location of the server and the website host.