Custom wordpress URL on Synology NAS

Before you follow the settings below make sure you have:

  • A DNS entry and port forwarding on your internet router that allow the desired host name to route to your NAS.
  • Set up the host name and site URL to the desired values on the “General” tab in the wordpress settings.
  • (Optionally) if you want to use TLS/SSL (which you should) set up a Lets Encrypt certificate for your wordpress blog.

Installing wordpress on a Synology NAS is fairly straight forward, however the default install sets up the default blog URL on the /wordpress path of NAS’s hostname.

For example, if the NAS’s URL is https://mynas.bramich.com then the wordpress site is only accessible by default on https://mynas.bramich.com/wordpress.

Some Synology DSM 7 users have reported problems getting the NAS to redirect traffic to their desired URL. URL routing can be configured using the Synology Web Station (this appears to be a GUI wrapper around an nginx server).

The following image shows the default configuration on the ‘Web Station >> Web Service Portal‘ tab after installing WordPress on your Synology NAS:

Default WordPress routes on Synology Web Station

In order to add custom routes to the wordpress installation:

  • Choose “Create >> Package Server Portal”.
  • Select “WordPress” from the list of installed packages and click “Next”.
  • Set the Portal Type to “name-based” and enter the desired hostname for you wordpress installation as shown below and click “Apply”.
Synology package portal configuration

You should now be able to access your wordpress blog on the hostname you entered in the settings screen shown above.

Scroll to Top