The hostname of the computer you are currently using is “localhost“. It connects to a local loopback IPv4 address: 127.0. 0.1

Computers communicate with themselves and other local devices using the loopback network.

When you develop a website, you can test it on localhost before placing it on the World Wide Web. When doing so, you want to use your local machine to simulate the web-hosted environment as closely as possible. You can test the local in your web browser by navigating to

 http://localhost/.