Local domain name resolution with WSL & Docker

Solution 1:

Here is what worked for me:

  1. Open windows hosts file c:\Windows\System32\Drivers\etc\hosts
  2. Add a binding for your puma domain to localhost 127.0.0.1 mysite.test
  3. Save and restart windows