I'm attempting allow a hostname to used as synonyms for another hostname.
For example : configure mymachine.com to be a synonym for localhost:8080 so if mymachine.com is navigated to in browser the url that is used in background is localhost:8080 .
I have tried modifying windows hosts file but this is incorrect as hosts file is used for resolving hostnames to ip addresses, not resolving hostnames to other hostnames.