Categories
Guides

How to set up and host websites on Synology NAS

When you’re wanting to host a website and have the general public access it, the usual route would be to choose a hosting company and pay a monthly fee. But what if you didn’t want to have yet another subscription siphoning funds from your bank account? If you have a Synology NAS, you can host a website on the enclosure in minutes!

How to host a website on Synology NAS

Synology DSM Web Hosting
NAS Master

Hosting a website on a Synology NAS couldn’t be easier. Simply follow these steps and you’ll be up and running in no time at all:

  1. Connect to your Synology NAS.
  2. Open Package Center.
  3. Download and install the following packages:
    • Web Station
    • Apache HTTP Server 2.4
    • PHP 7.4
  4. Make sure the http group has sufficient permissions on the website root folder.
  5. Go to Control Panel > Security > Firewall and configure firewall rules (allow 80 for HTTP and 443 for HTTPS).
  6. Go to Control Panel > External Access > Router Configuration and configure port forwarding.
  7. Go to Web Station > Web Service Portal and select Default server. Syniology DSM Webhosting
  8. Click Edit.
  9. Choose the HTTP and PHP profiles. Synology DSM Webhosting
  10. Change Script Language Settings to PHP and select the profile.
  11. Click Edit.
  12. Select all the checkboxes on the Extensions tab.
  13. Click Save.

Why you may not want to host websites on NAS

Hosting a website on Synology NAS is great if you have a solid network connection, a static IP address, and don’t mind utilizing a portion of your network connection for server traffic. The issue arises when your network connection drops and the server is no longer accessible to the outside world.

Going it alone will also see you locked out of any support offered by web hosting companies. A Synology NAS enclosure is fantastic for many tasks, but running more than one intensive process on the same server can cause issues when a process requires considerable levels of performance.

Should you be indexing files, hosting a website, running a virtual machine, and streaming a movie through Plex all on the same server, overall system performance may take a hit. But for a small blog or even a family website that’s only viewable while on the LAN would be a perfect fit for Synology NAS.

Synology DiskStation DS220+

Synology DiskStation DS220+

The Synology DiskStation DS220+ has everything you need to set up and host your own websites, including an Intel processor, two drive bays, and upgradable DDR4 RAM.

Seagate IronWolf

Seagate IronWolf

Seagate’s IronWolf range of storage drives is specifically designed for use in NAS. If you’re looking to store data and media, and even set up a website or two, an IronWolf HDD would be a great place to start.

By Richard Edmonds

Richard has been covering the technology industry for more than a decade. He has spent more time tinkering inside a PC chassis than anywhere else, for better or worse.

Leave a Reply

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

To help keep the lights on, we may earn a commission for purchases using links to buy recommended products.