Web Applications

With the Web Station feature and PHP support, you can easily host a website on your Synology NAS and create dynamic websites for your business or hobby. In addition, Package Center provides a variety of 3rd party packages such as Content Management, Customer Relationship Management & e-Commerce system. A default shared folder called web will be created to store the files for your website.

Note:

Enable Virtual Host to Host Websites

You can host multiple websites on a single server with virtual host feature. To get started, your need to register a couple of domain names and configure virtual hosting by following the steps below.

To enable Virtual Host:

  1. Click Virtual Host.
  2. Click Create.
  3. Enter a name for the sub-folder of the web shared folder, which will store the website files.
  4. Enter a hostname for the website.
  5. Enter a port for the website.
  6. Click OK.

Enable Personal Website

The personal website feature is a convenient way to allow local users, domain users and LDAP users to create their own personal websites.

For local users

Each local user will have a unique website address server-IP/~username or server-name/~username. For example:

  1. 192.168.1.1/~ken
  2. SynologyNAS/~ken

For domain users

Each domain user will have a unique website address server-IP/~domainname%5cusername or server-name/~domainname%5cusername. For example:

  1. 192.168.1.1/~testdomain%5cken
  2. SynologyNAS/~testdomain%5cken

For LDAP users

Each LDAP user will have a unique website address server-IP/~username@domainname or server-name/~username@domainname. For example:

  1. 192.168.1.1/~ken@testdomain
  2. SynologyNAS/~ken@testdomain

Note:

Before enabling this feature, please make sure user homes are enabled. For local users, go to Control Panel > User > Advanced; for domain users, go to Control Panel > Directory Service > Domain Users > User Home; for LDAP users, go to Control Panel > Directory Service > LDAP Users > User Home.

Note:

Before enabling this feature, please make sure user homes are enabled. For local users, go to Control Panel > User > Advanced.

To create a personal website:

  1. If you have checked Enable personal website, a folder www will be automatically created in the user's home directory.
  2. The user can now upload the website-related files (e.g., webpages and sound files) into the www folder.
  3. Make sure the user has proper access permissions to the uploaded files.

To customize the error page:

  1. Save the error page as missing.html, missing.htm, or missing.php.
  2. Upload the file to the www folder.

When users link to a page that does not exist in the local user’s website, the customized error page will be displayed.

Support and limitations:

Local users are only allowed to access data under the following: