How to accede to a website without changing the DNS?

In order to be able to raise and to review his website without to have made the change in the NIC it will have to modify his c:\windows\system32\drivers\etc\hosts file

It must publish that file with a wordpad or text editor and place something as the following thing:

Where corresponds to the IP of the servant where the website will be mounted.