User Manual

172
Virtual Host
A virtual host is a web server technique that provides the capability to host more than one
domain (website) on one physical host and offers a cost-effective solution for personal and
small businesses with such need. You can host up to 32 websites on the NAS with this
feature.
Before you Start
In this tutorial we will use the information provided in the below table as a reference guide.
Host name
WAN/LAN IP and
port
Document 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_mysite
2
phpBB3
Before starting, 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 NAS WAN IP. 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 can import certificates from within
the administration backend under "System Settings" > "Security" > "Certificate & Private
Key".
Using Virtual Host
Follow these steps to use virtual host:
1.
Select "Enable Virtual Host" and click "Apply".
2.
Click "Create a Virtual Host".
3.
Enter the host name and specify the folder where the web files will be uploaded to.