How do I change my VVV dev site to use a new TLD?

January 8, 2018

With the release of Chrome 63 in December 2017 came extra grumbling from developers. The reason for this turmoil is because Chrome now forces https:// on any site that uses the .dev Top Level Domain (TLD). To help alleviate the pain, here is a step by step guide to change a VVV site from .dev to .local (you can follow the same instructions for any TLD that you wish to use).

  1. Open up VVV/config/nginx-config/sites/yoursitedomain.conf in your favorite text editor.
  2. On line 37, update the `server_name` from ` …` to `yoursitedomain.local … `
  3. Now open VVV/www/yoursitedomain/vvv-hosts and update its contents to `yoursitedomain.local`
  4. In Finder, open VVV/www/yoursitedomain/htdocs/wp-config.php and update all references to `.dev` to `.local`
  5. Using your preferred method, update your hosts file so that it now knows to point your IP to yoursitedomain.local instead of
  6. In terminal, cd into your VVV root directory. `cd ~/VVV`
  7. Run `vagrant provision`. This may take a few minutes.
  8. Visit your new site at yoursitedomain.local

You will have to follow this process for each domain that you would like to move from .dev to .local. If you are changing multiple sites, you will only need to run steps 6 and 7 once.

Stay in Touch!

Subscribe to our newsletter.

Solutions Architecture

browse through our blog articles

Blog Archive