But I have a very good way to do this without using any software.
Follow the steps given below...
- open the run by pressing window+R or from start menu.
- Type C:/windows/system32/drivers/
127.0.0.1 www.domainname.com at the end of the document.
5. Now save it.
6. Try to open the website in your browser. It will not work.