External access

Hello!

I really need to be able to add a subdomain for external access instead of WAN IP. The server is using a lot of services including VPN an the only way to access it through a VPN tunnel is to add a subdomain like plex.mydomain.com for external access around the actual tunnel. (NordVPN). Right now if I connect the server through NordVPN the external access changes my WAN IP to the one from the NordVPN server. So the idea is to point the subdomain to my actual WAN IP and access it that way, this is also a client side issue; On my iPhone I can add a connection to an IP on port 32400 but it doesn’t allow me to add subdomain.

https://support.plex.tv/articles/200430283-network/
ā€œCustom server access URLsā€
The upshot is that you don’t need to configure your server IP in each of the clients. By putting the custom URL into the server settings, plex.tv will distribute the connection information to the clients.

If you need encryption (secure connections), you need to supply a fitting cryptographic certificate as well.

Can you explain how to do this this like I’m 5 years old? //Michael Scott

Please do it like this

  1. Go to X
  2. Do this
  3. Add ā€œxdomain.comā€

etc

Thanks <3

You need to put in the complete URL which points to your server from the outside. Not just the domain. This is mentioned in the article.

https://plex.mydomain.com:32400 (if you have a fitting certificate)
http://plex.mydomain.com:32400 (if you don’t have a certificate. Then you must also disable ā€˜Secure Connections’)

Just doesn’t work for me. I’m using a Synology NAS connected to a Unifi USG. The static IP of the server is 192.168.1.7 and the port forward is set in the USG for 32400 and on the plex server.

I set the domainaddress as you said (non certificate) so http://plex.mydomain.com:32400
The server is also connected through NordVPN so my WAN IP in plex settings is a random one. As soon as I turn VPN off, it works, though I think it’s using the WAN IP rather than the domain. I’ve checked my DNS settings where I bought the domain and it’s pointed at my WAN IP using type A.

I’ve set secure connections to ā€œOffā€ (since I don’t have a certificate)
When logging into plex.tv from a mobile device (outside LAN) it can find the server and its changes (changed the name for it to try) but it says that it’s offline. When trying to ping the server I get disconnects.
I’ve tried rebooting both the Synology server and the USG. Tried using UPnP both on and off. Nothing seems to work.

Any clue?

Sorry, when it comes to tunneling, I’ll bow out.
I have only one remark regarding the port forwarding: you only need TCP, not ā€˜Both’.