DEV Community

Discussion on: How to setup a reverse proxy to your host machine using Docker

Collapse
 
lysofdev profile image
Esteban Hernández

Awesome post! Could you clarify the last step where you added host entries to the hosts file? Is this necessary if the host machine is only for development?

Collapse
 
kevbradwick profile image
Kevin Bradwick

Hi, glad you found it useful. Yes, you'll need to edit the hosts file on your host machine (I've updated the article). And yes, this article is aimed at local development where you need two different apps, running in different processes, to be served from the same top level domain.