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:

xxx.xxx.xxx.xxx www.sudominio.cl
xxx.xxx.xxx.xxx sudominio.cl

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