Synology DiskStation User's Guide
Based on DSM 4.1
90
Chapter 10: Host Websites, Email Server, and Print Server
Note:
For more information about SMTP server, see "Manage E-mail Notification" on Page 168.
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" on Page
17 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
websites. Each local user, domain user and LDAP user will have a unique website address. For more information
about website addresses, please click
Help
button (with a question mark) at the top-right corner.
Note:
Before enabling personal website, make sure
User Home
is enabled. See "Create User's Home Folder" on
Page 58 for more information.
To create a personal website:
1
Tick
Enable personal website
and click
Apply
.
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
/volumeX/@tmp
Synology DiskStation users can customize the error page by creating any of the following files and putting
them in the
www
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.