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:
And I can change it to something else like
example.test and it still works great:
If I change it to
.localhost I get a 403 forbidden error.
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?