URL rewrite?

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

banz

Occasional Visitor
I don't know if the topic is correct. I have a lot of applications and docker on my internal network. What I'm looking at is this.

Say I have a plex server on http://hostA:32400/web. I want to access it via http://plex. Is there something on the router that can do this? It's kinda hard when I have over 40 devices and trying to remember the port number the application is running on. Especially when my wife is like where is the server that is storing our photos? I give her some absurd server name and port that she is never gonna remember and keeps asking me.

Or I could just setup nginx to do rewrite or perhaps do a simple html landing page and put all of them on one page?
 

ColinTaylor

Part of the Furniture
This has been asked many times. As you surmised the only practical way of doing this is with a proxy server like nginx.
 

eibgrad

Very Senior Member
The only *rewrite* capability (if you want to call it that) is to use DNSMasq to change the name resolution. But even that is limited to the domain name, and not the port, or any other part of the URL. Such rewrites, as suggested, need to be handled by a proxy server. Even then, the portion beyond the destination IP and port is going to be encrypted if using https, since it's part of the http headers, which are part of the payload. So things can get complicated.

Or else find a public URL shortener that allows user-defined shortcuts, if they even exist.
 

eibgrad

Very Senior Member
P.S. Still think creating a simple landing page is the best solution. Doesn't even require a webserver, but just a file:// reference to some shared folder. Simple.
 

Jack Yaz

Part of the Furniture
I don't know if the topic is correct. I have a lot of applications and docker on my internal network. What I'm looking at is this.

Say I have a plex server on http://hostA:32400/web. I want to access it via http://plex. Is there something on the router that can do this? It's kinda hard when I have over 40 devices and trying to remember the port number the application is running on. Especially when my wife is like where is the server that is storing our photos? I give her some absurd server name and port that she is never gonna remember and keeps asking me.

Or I could just setup nginx to do rewrite or perhaps do a simple html landing page and put all of them on one page?
i use nginx and Heimdall / Organizr as a "homepage". I used to run nginx on the router but since migrated it to Docker on a Linux box
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top