I’m working on a collaborative project which basically checks if the domain matches with the expected domain as a first step.
When working locally, It’s easy to setup the local HOSTS file so that myproject.dev goes to the dev server, and also a virtualhost configuration in Apache. I know it’s possible to setup the virtualhost in my workspace’s Apache2 in Cloud9, but I can’t see a way to emulate the HOSTS configuration thing, as long as there’s no static IP for my workspace to configure it in my local HOSTS file. I’m wondering if there’s a way to do this using the IDE integrated browser preview (something like a workspace HOSTS file).
Is there a way to solve this?