1. Search for Notepad on Windows, and right-click it to click Run as administrator.
2. Click the File and click Open.
3. Search for the file from C:\Windows\System32\drivers\etc, and choose to show All files.
4. Click hosts.
5. Scroll to the bottom of the file and paste the server IP and domain
Sample server IP : 192.168.1.1
Sample domain : website.com
It will be : 192.168.1.1 website.com (a space between them)
To not use it, add a # and a space at front
# 192.168.1.1 website.com