Synology DS411SLIM Server User Manual


 
Synology DiskStation User's Guide
Based on DSM 3.1
117 Chapter 10: Host Websites, Email Server, and Print Server
The real path of the web shared folder is /volume1/web. Some applications require the user to set the path in
the configuration file.
The names blog, photo, photosrc, and webdefault are reserved folder names. These names cannot be
used by Web Station, so please do not create folders with these names under the web shared folder.
You can customize the error page by creating any of the following files and putting them in the web shared
folder: missing.html, missing.htm, or missing.php. When users try to connect to a page that does not exist,
this customized error page will be displayed.
Enable Virtual Host to Host Websites
The Virtual Host support allows you to host up to 30 websites on one Synology DiskStation. Each website can
have different port number or even different hostname.
To enable Virtual Host and host websites:
1 Click Virtual Host to open the settings window.
2 Click Create and enter the following information.
a The name for the subfolder (in the web shared folder) that will contain the web pages to build the website
b The hostname for the website
c The protocol (HTTP or HTTPS) for the website
d The port number for the website
Note: To use HTTPS protocol, HTTPS connection needs to be enabled in advance. See "HTTP Service Options"
on Page 26 for more information.
3 Click OK.
4 Click Virtual Host and go through the above steps again if you want to set up more websites.
Enable Personal Website
The personal website function is a convenient way to allow Synology DiskStation users to host their own personal
website. Each user will have a unique website address http://Synology_Server_IP/~username or
http://Synology_Server_Name/~username.
Note: Before enabling personal website, make sure User Home is enabled. See "Create User's Home Folder" on
Page 75 for more information.
To create a personal website:
1 Tick Enable personal website and click OK.
2 Create a www folder in the user's home folder.
3 Upload web pages to the www folder.
Personal website Support and limitations:
Local users are only allowed to access the data in the following path:
Their own home folder
/var/tmp
/tmp