Level 102
Don't use dev domains as they need https.
- Add the domain to your hosts file and have it point to 127.0.0.1
- Change the app url
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi there,
i am currently using docker (sail) to develop my website. I can access it via localhost:3000
I would like to change localhost to "real" host name e.g. http://foo.dev or .test
How can i accomplish this the easiest way?
Thanks for the support!
Best Ray
Don't use dev domains as they need https.
Please or to participate in this conversation.