Good article.

As an alternative approach, rather than getting your local file system dirty with Apache installations (and /etc/hosts changes), you can use a Docker image from Docker Hub ( mapping its port 80 to 8090 of your local machine. The image will run as a service (thus eventually your Apache web server) until you stop it manually. Hence, upon production, you can deploy your image to a docker container directly.

Some important Docker commands can be found from here:

Software Engineer @ CodeGen International, CSE Graduate @ University of Moratuwa

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store