Is it in anyway possible to rewrite (or via some DNS trick) http://localhost:1337/
to http://myswebsite/
.
I did find the way to add a custom DNS entry at the system32 hosts file, but this does not work with a port.
The reason I want to have this, is because I'd like to be able to have a dynamic port, which may change day to day. Yet I want to access the http server running on that port anytime without changing the port for the request. So it would be easier to request http://mywebsite/
instead of http://localhost:%this_port_can_be_whatever%/
Is there maybe another way to make this possible?