Host a WordPress Website on a Synology NAS
This Article will help you understand how to Host a WordPress Website or a Blog on a Synology NAS.

A lot of people would like to host a website, but the monthly costs associated with web hosting isn’t always ideal. While it’s a good idea to scale your website to match the daily traffic it receives, it’s sometimes easier to host the website out of your house in the beginning. This avoids monthly charges and allows you to run the site on a device that most people have running 24/7. To be clear, Synology NAS devices don’t have huge amounts of processing power, so it’s not the best idea to host a site with a lot of traffic on a Synology NAS. In future tutorials, we will look at how to use Cloudflare which can drastically reduce the traffic demands on your local NAS, speed up performance, and increase security.

1. WordPress Synology NAS Package Install Instructions

1. Open Synology’s Package Center and install the WordPress package.

wordpress synology nas package center

2. You will be informed that WordPress will automatically install a few different packages. Select Yes. The packages will now download and install.

wordpress synology nas package dependencies that must be installed

3. Create a password for the MariaDB package that’s installed. After the password has been defined, select Apply to install the package.

Account: admin

Password: <ad-password>

4. WordPress will automatically configure a database user. Enter a password that will be used for the wordpress_user.

Database name: wordpress

Database user account: wordpress

Database user password: <db_password>

6. Select Apply to install the WordPress package.

7. The WordPress package is now installed!

2. Installing WordPress – Synology NAS

1. Select Open to access WordPress.

wordpress synology nas package center

2. You will be brought to the IP address of your Synology NAS in the URL window. Change the IP address to be the domain name we created in our last step.

3. Select your language and press Continue.

wordpress synology nas install process

4. Create a Site Title, Username, Password, then enter your email address and search engine visibility. When everything has been entered, select Install WordPress.

5. When it’s finished installing, you will be able to Log In using the password you created.

wordpress synology nas confirmation of install

6. WordPress is now installed!

3. Website Exposing & Setting up an SSL Certificate

The website will now be set up and configured. Keep in mind, this is a blank website so you’ll probably want to go ahead and customize it before you expose the website to the outside internet. However, at this point, you’re ready to expose the website.

It’s very important to note that you need to have your purchased domain name ready at this point with a DNS record created. I will not be going through this process as there are tons of different registrars where you can purchase domain names, but ensure that you created a CNAME DNS record pointing to your DDNS hostname or an A record pointing to your static external IP address.

creating a dns record which will allow you to point your domain back to the location where your synology nas exists

1. Ensure that you port forward ports 80 and 443 on your router to the IP Address of your Synology NAS. Make sure you create two allow firewall rules for ports 80 and 443. If you aren’t using Synology’s Firewall, I highly suggest you set it up before opening ports 80 and 443. 

synology nas firewall rules

2. After the firewall rules have been created and you’ve port forwarded 80/443, open the Control Panel, select Security, then Certificate.

3. Select Add, then Add a new certificate, and Get a certificate from Let’s Encrypt.

getting a let's encrypt certificate for the website

4. In the Domain Name section, type your domain name and then select Apply. It will take a few minutes to validate.

5. The final step is to select Configure and select the correct certificate next to your domain name.

6. Your website is now configured with an SSL certificate and is ready for external traffic!

4. Conclusion – WordPress Synology NAS

This tutorial was meant to guide you through the entire process of setting up and configuring a WordPress website on a Synology NAS. In future tutorials, we will look at utilizing Cloudflare to use some of the free benefits that they provide.

Similar Posts

  • All
  • ubuntu
  • fail2ban
  • nextcloud
  • raspberrypi
  • deluge
  • torrent

Mobeen Syed on February 17, 2021

This article describes how to enable /etc/rc.local (startup) with systemd on Ubuntu 20.04 (focal fossa) linux distribution.

Mobeen Syed on October 3, 2022

This article will help you setup Secure File Transfer Protocol (SFTP) server on Ubuntu 22.04 using VSFTPD protocol and SSHD Secure service.
Nextcloud Logo

Mobeen Syed on October 3, 2022

Setup Nextcloud on Ubuntu 20.04 using Apache2, PHP LAMP stack, SSL secure with letsencrypt and fail2ban brute force protection using fail2ban.

Leave a Reply

Your email address will not be published. Required fields are marked *