Welkom bij Bandhosting.nl,
hosting en webdevelopment.

Converting your local development from .dev to .local

With the arrival of Chrome 63, every .dev domain you visit will be redirected to https due to a change in HSTS settings. This is normally no issue, except when you have set up your local development on the .dev domain (as I had).

I decided to move everything over to the .local domain using the following steps:

Change your dnsmasq.conf

Open the /usr/local/etc/dnsmasq.conf file and change this line:




This will direct all .local domains to your local host.

Change the resolver file

Move the /etc/resolver/dev to /etc/resolver/local:

sudo mv /etc/resolver/dev /etc/resolver/local

Restart the dnsmasq service

sudo launchctl stop homebrew.mxcl.dnsmasq
sudo launchctl start homebrew.mxcl.dnsmasq

That should be all