Having a web presence allows you to interact with your users, customers and audience from anywhere in the world. It is getting increasingly easier to host a website and there are a wide range of free resources on the Internet available for people with varying technical skills to create multiple websites.

Virtual Hosting is a web server technique that provides the capability to host multiple domains (websites) on one physical host, offering a cost-effective solution for those who need to do so.

This article will show you how to set up multiple websites on a QNAP NAS by using virtual hosting.

In this tutorial we will use the information provided in the following table as a reference guide.

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. For more information about port forwarding via NAS, please refer to Accessing your QNAP NAS with myQNAPcloud Service

SSL certificate import

If you are going to enable SSL connections for the website and intend to use your own SSL certificates, you can import the certificate from "Control Panel" > "Security" > "Certificate and Private Key".