Change http://localhost:8080 to

  apache, docker, laravel, url

I’m running a fresh Laravel installation on docker using the php:7.2-apache-stretch image and I access the application through http:localhost:8080 on my browser.

What I want to do is to set a custom url, something like, so what I’ve done is I’ve set in the .env file and on my local /etc/hosts file, but when try to access I get a blank page

Do I need some additional configuration to do?

Source: StackOverflow