Welcome back to our journey with WordPress on Synology NAS! If you’ve been with me through my previous guide, “Step by Step Guide on How to Install and Run WordPress on Synology NAS”, you’ve successfully set up WordPress on your Synology device. But that was just the start.

Today, I’m excited to take you further into how to optimize WordPress on Synology for optimal performance. Together, we’ll explore everything from perfecting your domain settings to mastering port forwarding. I’m here to help you ensure your WordPress site isn’t just up and running and at its best. Let’s dive into unlocking the full potential of your WordPress on Synology NAS!

Optimize WordPress on Synology

Register a Domain

When setting up your WordPress site on Synology NAS, the initial step is essential – registering a domain name. It isn’t just a technical formality; it’s about giving your site a professional appearance and boosting its credibility. A custom domain is vital to establishing your brand’s identity.

For domain registration, I rely on Namecheap. Their competitive pricing and user-friendly interface make the process straightforward and budget-friendly. But when it comes to country-specific domains, like .ch for Switzerland, Hostpoint is my go-to registrar. They’re local and understand the nuances of the Swiss market.

A tip from my experience: try to keep your domain registrars to a maximum of two. This approach helps in better organization and management of your domains. By centralizing them, you streamline the management process, making it much more efficient.

Also, I’m a proponent of keeping your web hosting and domain registration separate. This separation offers flexibility, especially when you need to switch hosting providers. It’s a strategy that worked well for me.

You can reach my WordPress installation with the URL https://werdernet.ch/wordpress

Set Port forwarding to ports 80 and 443

In most cases, you have received a router from your Internet ISP. Most routers are capable of forwarding ports to internal devices. We want to forward ports 80 (http) and 443 (https) to the Synology device. You need to determine what your Synology IP address in your network is. I don’t recommend a dynamic IP address for the Synology NAS. In Control Panel, Network, you will see the IP address and if it’s manual or dynamic (DHCP)

Synology network settings
Synology IP4 address

I recommend disabling the IPv6 address. There is no need to use IPv6 in the internal network. As you see, I use the 192.168.0/24 subnet.

Synology IP6 address

External (Public) IP address

After setting up a domain and port forwarding, the next step is setting up your WordPress website to be accessible from the Internet. Usually, a web server has a fixed IP address, and the domain points to that IP address. However, your Internet ISP assigns a DHCP address, which is, strictly speaking, not a fixed IP address and can change without notice.  You can visit this website to determine the external or public IP address.

IPv4 and IPv6

Some ISPs will give you both IPv4 and IPv6 (dual stack). If you have received an IPv6 address, I recommend talking to your ISP to get an IPv4 address.

The Synology NAS has built-in support for DDNS providers, which will map the IP address to the domain name. I don’t use DDNS. I use Dynu.com, which is a free service.

Synology DDNS provider

Please follow my article, Synology SSL certificate, to obtain an SSL certificate from Let’s Encrypt for Free. Synology has built-in support to install the certificate.

Synology installs WordPress in a subdirectory.

Unfortunately, the default installation of WordPress in the Synology Package Center places it in a subdirectory named ‘WordPress’, making it impossible to access the website solely through the domain URL.

Digging deeper into the issue, looking at the Web Station, we see WordPress was installed as a service, and under Web Portal, we know the web portal WordPress has an alias. I haven’t figured out yet how to redirect the root URL to the WordPress subdirectory. 

Synology Web Station

Please let me know if you have a solution in the comment section below. Google tells me to edit the .htaccess file in the WordPress directory for the redirection. I’m not sure it’s the solution since, first, the Web server needs to redirect the URL.

My Synology NAS

Backend: Optimize WordPress on Synology

Going to the WordPress backend, under Tools, Site Health, WordPress is happy with the server response time, although no page cache is installed.

WordPress site health

Server info shows the installed PHP version and memory allocation.

WordPress Synology PHP info

I want to increase some PHP limits. Returning to Synology Web Station, Script Language Settings, click on “WordPress,” then edit; you can edit many PHP settings.

In the Core tab, you can increase the memory limit.

WordPress PHP settings

Backend: Install a Security plugin

Once you have created a website and removed the “discourage search index from indexing this site,” the website will soon be a target of hackers. Good hosting companies have several levels of shields in place against hackers. A good security plugin will help you keep your website safe and secure. It will also help you monitor the traffic coming into your site to make sure it is legitimate and not malicious activity. This way, you can be sure your website and Synology have good protection.

WordPress search engine visibility

I recommend the plugin from SolidWP Security Pro. There is also a free version, but you should opt for the Pro version. It monitors the website and blocks unauthorized login attempts. 

This article is a work in progress. Please leave a comment below or send me an email to info@edywerder.

Before you go …

If you found the insights on optimizing WordPress on Synology valuable, you might be interested in exploring another aspect of Synology’s capabilities. Check out Synology Drive, where you’ll discover how to use Synology Drive for file synchronization and backup effectively. This article will give you a deeper understanding of maximizing your Synology NAS for data management. It’s a great follow-up to enhance your Synology toolkit knowledge.

Full Disclosure

Any purchases made from clicks on links to products on this page may result in an affiliate commission for me. 

Please keep in mind that the quantity or price of items can change at any time.

As an Amazon  Associate, I earn from qualifying purchases.

As an Aliexpress Associate, I earn from qualifying purchases. 

Als Amazon-Partner verdiene ich an qualifizierten Verkäufen

Tech Expert & Blogger

Leave a Reply

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

For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.