Using WordPress with a Port Other Than 80
-
I have searched and searched, but all the discussions about this problem, but the search engine doesn’t know anything about time. All of the results are from the paleolithic era and none of them work.
Background
- I must develop a WordPress site at home.
- I must let my client look at it and play with it.
- My Synology home server has a bonjour address that I can use as a URL, but only within my network, of course.
- I have a DYNDNS domain name that I can use to get to my network from the outside.
- My ISP sensibly blocks port 80.
I have three web site on my server: my personal web site, a drupal web site, and a wordpress website.
Ports 49152 through 65535 are for private or ephemeral use, so I am using one of them.
My router forwards port 55123 to port 80 on the IP address of the server.- https://my.dynamic.net:55123/website goes to my website.
- https://my.dynamic.net:55123/drupal goes to my drugola site.
- https://my.dynamic.net:55123/wordpress goes does not work.
When someone enters my.dynamic.net:55123/wordpress in their browser, there is a pause, the port number drops out of the URL, and nothing happens because port 80 is blocked. This is a WordPress-only problem, so there is no need to configure Apache or the MySQL differently.
Within my network only, https://diskstation.local/wordpress does work. That is the URL inside WordPress. I did not put it there. WordPress does not allow me to change it to a URL that has a port number.
”Solutions” that Do Not Work
Changing General Settings inside WordPress does not work. WordPress complains that the URL isn’t right and the entry reverts to what it was before. Editing a SQL database does not work.
What do I do to prevent WordPress from dropping the port number from the URL in the browser? Or is WordPress designed to keep us from working at home?
- The topic ‘Using WordPress with a Port Other Than 80’ is closed to new replies.