-
Do nothing if your user-agent is Chrome, IE, Firefox. They connect to localhost with http://*.localhost:post
-
Edit /etc/hosts or C:\Windows\System32\drivers\etc\hosts: Append lines like
127.0.0.1 example.com 127.0.0.1 subdomain1.exmaple.com subdomain2.example.com
-
Use http://*.localtest.me:port or http://localtest.me:port. Docs: https://readme.localtest.me & https://github.com/localtest-dot-me/localtest-dot-me.github.com
Created
September 20, 2021 19:43
-
-
Save SomajitDey/7cd7a8edfd8237858424e96cdb01b313 to your computer and use it in GitHub Desktop.
How to test locally with (wildcard) subdomains
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment