204
7.6.1 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.
B e fore y ou Sta rt
In this tutorial we will use the information provided in the below table as a reference
guide.
H os t na m e
WAN/LAN IP
a nd port
Doc um e nt root
De m o we b
a pplic a tion
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 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".
Us ing V irtua l H os t
Follow these steps to use virtual host:
1. Select "Enable Virtual Host" and click "Apply".
2. Click "Create a Virtual Host".
Содержание HS-210
Страница 18: ...18 1 1 The NAS is turned off by force shutdown hardware shutdown 2 The NAS has been turned on and is ready ...
Страница 157: ...157 o AFP o FTP o File Station ...
Страница 326: ...326 ...
Страница 354: ...354 Vol1 Unmounted The disk volume 1 is unmounted Vol1 Nonactivate The disk volume 1 is inactive ...
Страница 369: ...369 ...