I have a somewhat annoying problem in website development/deployment process; when I work locally on my server, the address of my program is localhost:8080/MYSERV/..., whereas when I deploy it, the address is www.mysite.com/...
I want all the links in my webpages to be hardcoded to the deployment version. I have read some hosts-file tutorials, but I'm still lost as to how to locally redirect requests to www.mysite.com/ to my local server for development. I would very much appreciate if someone could point me to the obvious one-liner. Thanks a lot in advance!