How to set up a website on Synology NAS

Synology DS220j
Synology DS220j (Image credit: Rich Edmonds / Windows Central)

Did you know you can host a website on a Synology NAS enclosure? Not only are you able to use the best NAS for home for storing files and running a media server, but you can also host a blog, website, or even an internal family portal. This quick guide will showcase just how easy it is to get up and running.

How to host a website on Synology NAS

Synology DSM 7 Web Station

Source: Windows Central (Image credit: Source: Windows Central)

Synology makes it really simple to host a website on your NAS enclosure running DSM 7.0. All you need to do is run Web Station and you're good to go.

  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.

Synology DSM 7 Web Station Service

Source: Windows Central (Image credit: Source: Windows Central)
  1. Click Edit.
  2. Choose the HTTP and PHP profiles.

Synology DSM 7 Web Station Service Settings

Source: Windows Central (Image credit: Source: Windows Central)
  1. Change Script Language Settings to PHP and select the profile.
  2. Click Edit.

Synology DSM 7 Web Station Script Extensions

Source: Windows Central (Image credit: Source: Windows Central)
  1. Select all the checkboxes on the Extensions tab.
  2. Click Save.

You're done! Place some files into the designated website folder and they should now be viewable using your favorite browser to load the IP address.

Why NAS website hosting may not be for you

I wouldn't recommend hosting a website on your Synology NAS unless:

  • You have a good and reliable internet connection;
  • Your Synology NAS isn't being used for anything else;
  • And you know how to troubleshoot website hosting-related problems.

The primary issue with hosting your own website from home (on a NAS or some other connected device) is the potential for downtime through power outages or unreliable internet. Even the best connections can go down for some unforeseen problem and the same goes for your electricity supply. This would render your website offline.

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. If you're running a website on your Synology NAS and a process requires files to be indexed, you may experience sluggish performance.

Lastly, hosting a website on your Synology NAS is as DIY as you can get. You won't have a helpful support team at hand for assistance like you would with most website hosts out there. If you have no problem running your own sites, I'd recommend picking up the Synology DiskStation DS220+ and a Seagate IronWolf HDD.

CATEGORIES
Rich Edmonds
Senior Editor, PC Build

Rich Edmonds was formerly a Senior Editor of PC hardware at Windows Central, covering everything related to PC components and NAS. He's been involved in technology for more than a decade and knows a thing or two about the magic inside a PC chassis. You can follow him on Twitter at @RichEdmonds.

Read more
Samsung T7 Shield SSD
How I saved the internet on an SSD — Documents, survival guides, and entire websites to prepare for the apocalypse
Ubuntu, Debian and Fedora running on WSL on a Snapdragon X Elite laptop
How to install the Windows Subsystem for Linux (WSL 2) on Windows 10 and Windows 11
Windows 10 mount drive on empty folder
How to mount hard drive as folder on Windows 10
Samsung 990 Pro SSD with packaging box
Samsung's 990 Pro is the best SSD on the market, but it has plenty of competition
Surface Laptop Studio 2 photos
How to transfer your Windows 11 setup to a new hard drive — no extra app required
Windows 11 new PC install
How to set up a new PC with Windows 11: My step-by-step guide for new buyers
Latest in Storage
A Crucial P310 m.2 2230 SSD for Steam Deck and ROG Ally in its retail box.
The SSD I upgraded my own gaming handheld with is now heavily discounted, and you should definitely get one
Samsung 990 PRO solid-state drive held in front of Windows Central deals page with Black Friday deals logo
The world's favorite SSD is $100 off before Black Friday, giving me 2TB of space for the monstrous installations of AAA games
PNY memory card and flash drives.
Don't miss out on these great memory card and flash drive deals on the last day of Prime Day
SanDisk Professional G-DRIVE ArmorATD fits in your hand.
SanDisk's Professional G-DRIVE ArmorATD review: Damage resistant with FAST transfers
Western Digital My Passport Ultra in hand.
Western Digital My Passport Ultra review: A fantastic external drive, but one of its two variants is better than the other
Western Digital HHDs: My Passport Ultra, WD_BLACK P10 Game Drive, and SanDisk G-DRIVE ArmorATD.
Western Digital portable HDDs are now more appealing than ever thanks to new 6TB capacities in small form factors
Latest in How-to
Atomfall
Can I play Atomfall on Steam Deck, ROG Ally, and other gaming handhelds?
The First Berserker: Khazan
Is The First Berserker: Khazan on Xbox Game Pass?
Clair Obscur: Expedition 33
Is Clair Obscur: Expedition 33 on Xbox Game Pass?
A close-up of Hazel in South of Midnight
Is South of Midnight on Xbox Game Pass?
Atomfall screenshot
Atomfall: How to grab the best melee weapon and melee perk right away
Atomfall District B
Atomfall: How to open District B, get inside the Robot Facility, and grab the Signal Redirector