# Specify domain and port

**URL:** https://forums.plex.tv/t/specify-domain-and-port/825902
**Category:** Remote Access
**Tags:** server-qnap
**Created:** [January 7, 2023, 2:54pm UTC](https://forums.plex.tv/t/specify-domain-and-port/825902 "2023-01-07T14:54:47Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![cc\_plexer](https://avatars.discourse-cdn.com/v4/letter/c/96bed5/32.png) [@cc\_plexer](https://forums.plex.tv/u/cc_plexer)
#### Post date: [January 7, 2023, 2:54pm UTC](https://forums.plex.tv/t/specify-domain-and-port/825902/1 "2023-01-07T14:54:47Z")

</div>

Hi,

Is there a way I can specify a domain and port in the form of [plex.mydomain.com:32400](http://plex.mydomain.com:32400) when enabling remote access. As opposed to it detecting the public ip address. I am hoping there is some configuration I can edit as I am unable to perform this via the web ui.

I would imagine in the UI it would be as simple as;  
Manually specify public port  
**Manually specify domain name**

But in the meantime, I will take editing a config file.

Thanks in advance.

---

<div class="post-metadata">

### Author: ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)
#### Post date: [January 7, 2023, 5:36pm UTC](https://forums.plex.tv/t/specify-domain-and-port/825902/2 "2023-01-07T17:36:07Z")

</div>

1. Settings - Server - Networking - Show Advanced

- You can add your certificate to PMS (It must be aware of it)  
– User cert P12 files must include the CA.  
– Selfsigned certs are not supported.

- You can specify a customer server access URL which Plex.tv will publish with for your server.

1. Settiings - Server - Remote Access - Show Advanced  
– You can specify the external port manually (the WAN port of the NAT)

---

<div class="post-metadata">

### Author: ![cc\_plexer](https://avatars.discourse-cdn.com/v4/letter/c/96bed5/32.png) [@cc\_plexer](https://forums.plex.tv/u/cc_plexer)
#### Post date: [January 12, 2023, 3:57pm UTC](https://forums.plex.tv/t/specify-domain-and-port/825902/3 "2023-01-12T15:57:05Z")

</div>

Thanks.

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)
#### Post date: [April 12, 2023, 3:57pm UTC](https://forums.plex.tv/t/specify-domain-and-port/825902/4 "2023-04-12T15:57:34Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
