I'm trying to create a development environment with .localhost
as the FQDN.
I'm using Local by Flywheel which is basically MAMP, its a GUI which lets me create vagrant boxes. I can create a site such as example.dev
and point it to my local IP address in the /etc/hosts
file and it works great:
192.168.95.100 example.dev
And I can change it to something else like example.test
and it still works great:
192.168.95.100 example.test
If I change it to .localhost
I get a 403 forbidden error.
192.168.95.100 example.localhost
There are no other records in my /etc/hosts
file. I'm trying to work out at what stage the domain is routed somewhere else.
What would prevent the localhost domain from mapping to the correct URL?