Hosts file
The hosts file is a local override that maps domains to IP addresses, bypassing DNS entirely on a single machine.
Every operating system ships with a hosts file (/etc/hosts on Linux/macOS, C:\Windows\System32\drivers\etc\hosts on Windows). Adding a line like 192.168.1.10 example.com makes only your computer resolve example.com to that IP, ignoring DNS. Developers and sysadmins use this trick to preview sites on staging servers before DNS cutover.
Downsides: requires admin access, only works on machines you control, doesn't help clients or stakeholders preview the site, breaks SSL certificates that don't match the IP. hosts.click solves all of this with shareable preview URLs that work on any device without local edits.