User manual
Table Of Contents
- Notice
- Getting Started
- QTS Basics and Desktop
- System Settings
- Privilege Settings
- Network Services
- Applications
- QNAP Applications
- Use the LCD Panel
- GNU GENERAL PUBLIC LICENSE

188
7.6.1 Virtual Host
Virtual host is a web server technique that provides the capability to host more than
one domain (website) on one physical host offers a cost-effective solution for personal
and small business with such need. You can host multiple websites (maximum 32) on
the NAS with this feature.
Before you Start
In this tutorial we will use the information provided in the table below as the reference
guide.
Host name
WAN/LAN IP and
port
Docum ent root
Demo web
application
site1.mysite.com
WAN IP:
111.222.333.444
LAN IP:
10.8.12.45 (NAS)
Port: 80 (NAS)
/Qweb/
site1_mysite
Joomla!
site2.mysite.com
/Qweb/
site2_mysite
WordPress
www.mysite2.com
/Qweb/
www_mysite2
phpBB3
Before you start, make sure you have checked the following items:
Web Server: Enable Web Server in "Applications" > "Web Server".
DNS records: The host name must point to the WAN IP of your NAS and you can
normally configure this from your DNS service providers.
Port forwarding: If the web server listens on port 80 you need to configure port
forwarding on your router to allow inbound traffic from port 80 to the LAN IP
(10.8.12.45) of your NAS.
SSL certificate import: If you are going to enable SSL connection for the website
and intend to use your own trusted SSL certificates you may import the certificate
from within the administration backend under "System Settings" > "Security" >
"Certificate & Private Key".
Using Virtual Host
Follow the steps below to use virtual host:
1. Select "Enable Virtual Host" and click "Apply".
2. Click "Create a Virtual Host".