If you use Windows 7 or Vista:
1. Open the folder C:\Windows\System32\drivers\etc:
2. Double-click on the ‘hosts’ file and choose Notepad from the list of available software:
3. Input the following strings in the end of the document:
where IP_address is the IP address of your account on the server (it can be found in the Hosting Welcome Email) and domainname.com is your actual domain name:
4. Save the changes.
5. Now you need to clear the browser’s cache and re-open your domain name in it to see the changes.
NOTE: To revert the changes, you need to remove the new entries added to your host file or simply comment them by adding ‘#’ at the beginning of each line, then save the changes. You may need to clear your browser cache once again to ensure everything is fresh