Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

RaymondE's avatar

Docker (Sail) and virtual host name e.g. http://foo.dev

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

0 likes
2 replies

Please or to participate in this conversation.