Add Domain Name To Local Ip. Then enter a hostname for your OPNsense router and the default domain name for your entire network. You should see this default hosts file from Microsoft.
You can give your own network a name and have all your machines on it that is easy depending on the OS your using. Conversely the local domain has been officially reserved as a Special-Use Domain Name SUDN specifically for the purpose of internal network usage. In the Localhost page on the tool section click on Add A Virtual Host then you will be guided to the following page.
Youll be returned to the admin center and Microsoft will then automatically verify your domain.
Once a hosting server is setup to serve up traffic for a domain itll fill any domain requests your computer sends to it. You can do this at a later time if you wish but please note that any Addon domains will not connect or work until DNS records have been added. To add a virtualhost or custom domain to WAMP server is very easy. Where is the hosts file you ask.