In this video you will see how to edit the hosts file on windows 11. The hosts file enables you to over write DNS entries on your local machine. It is really useful when testing websites.
The location of the hosts file is
c:\Windows\System32\Drivers\etc\hosts
To edit it you need to run your notepad application as an admin.