Problematic
I would like to call http://myapp.dev
in my web browser and "redirect" this call to http://myapp.dev:6547
or http://127.0.0.1:6547
, like a proxy would do.
This way, I could have an Apache or nginx listening to 6547
without having to write the port in my web browser to reach MyApp locally hosted.
Question
Is that possible with native Ubuntu/Linux tools to do this?
Solutions proposed
I've seen this post:
but I don't want to install nginx to do this.
I've also seen this post:
but iptables are cleaned each reboot and I want a persistent solution without having to install iptables-persistent
package.