Product Properties
Package name | Web Station |
Application name | Web Station |
Volume selectable | yes |
Dependencies | no |
Service name (SSH) | pkgctl-WebStation |
Shared Folder | /web |
Home Folder | no |
Licensing | no |
Hyper Backup support | yes |
Certificate selection | no (for Web Station); yes (for each virtual host) |
Privileges | no |
Application portal | no |
Firewall port | 80, 443 |
Date | 27 April 2021 |
Version | 2.1.10 |
DSM | 6.2.4 |
Functionality
With Web Station, you can easily host and publish your website. In combination with a PHP package, you can create dynamic websites. Web Station has two operation modes that coexist.
One mode is Web Station itself with the /web folder as root for the website. You could call this the physical host.
The other mode is virtual, where you create a virtual host for each website. Each virtual host has its hostname and root folder, typically a subfolder of the /web folder and its back-end. The selected HTTP server and PHP version create the back end of the virtual host. In addition, you can assign an SSL certificate to each virtual host separately.
You can have multiple virtual hosts and also have the physical host combined.
Installation
From Package Center, install the Web Station package. This installs the Web Station application in the main menu. It also creates the shared folder /web with a subfolder /web/web_images and index.html file.
The Web Station package turns your NAS into a web server. You can check if Web Station works. Open a separate window in your browser. Type in the address bar (without quotes) “ip_address_of_your_nas” or “server_name.local”. In both instances, you should see a blueish screen with a globe. This is the index.html file.
If you use Hyper Backup on your NAS, consider adding the Web Station application and the /web shared folder to a backup task.
Configuration
In General Settings, you configure the HTTP back-end server. Nginx is always available, but depending on the Apache options you installed, you can also select one of those. Optionally, you can select a PHP profile here or choose Not configured if you do not need PHP.
You can enable the option personal website. This allows users to build their websites. You can define the back-end for the personal websites here, too, separate from the generic website.
In PHP Settings, you find a Default Profile for every PHP version you installed. You can create additional profiles for a selected PHP version. You can configure several options like PHP cache and logging in a profile. You also define which extensions you need and save them with a profile.
In Virtual Host, you can define different websites, their hostname, protocols (HTTP/HTTPS), and subfolder names.
Logging and notification
There is no logging or notification in Web Station.
Stop and run
There is no stop or run option for Web Station in Package Center.
Uninstall and removal
Before you uninstall Web Station, ensure it is not included in any backup task of Hyper Backup. Remove Web Station from that task to prevent errors during backup.
If you also remove the /web shared folder after uninstalling Web Station, remove that shared folder from any backup task as well.
From Package Center, select the Web Station package. Select Uninstall from the drop-down list to uninstall the service and application.
You need to uninstall depending services before you can uninstall this service. A message will inform you about that.
Notes
–
Thanks for reading
This post is donation-ware, and I made it to help you. Please consider leaving a comment or buying me a coffee if it did. I will be eternally grateful.
Paul Steunebrink / Storage Alchemist