If you want to test a website before changing the DNS, or you just changed DNS, and while waiting for their updates, but now you need to start working on a website, then we can suggest you a solution in this situation:
for Windows 95/98/ME: /Windows/hosts for Windows NT/2000: /Winnt/system32/drivers/etc/hosts for Windows XP/2003/Vista/7/8/10: /Windows/system32/drivers/etc/hosts for Linux, Unix, BSD: /etc/hosts for Mac OS X and iPhone OS: /private/etc/hosts или /etc/hosts
Openthis folder, file hosts,using the fileeditor.
!!! To editthe hosts fileyou haveas an administrator. When you try to edit itin the usual way, when you saveyou will seean error messageaboutfailureis right.
In this fileat the very endadd the line:
18.104.22.168 - the IPaddressof the server whereyour site is. domainnameisthe url of Your websitein the formdomain.comoperation whichyou want to check.