QNAP Hosting Websites Part 1: Hosting Multiple Websites Setup

11 months ago
10

You already know how we do, here's the streamline instructions:

Step 1) Sign into your QNAP server

Step 2) Go to control panel --> Application --> Web Server and then enable it

Step 3) Go to Virtual Web host and create however many websites you want
3a: Be sure that the host names are unique as they are what the url address needs to be in a user's browser to get to THAT page
3b: Make sure all the https ports are the same and that all the http ports are the same. Unless your hosting internally in which case you would probably target different ports directly, it cannot work any other way as all traffic has to go to the same port for QNAP to then sort it out based on the URL

Step 4) Save, make sure you have a index.html or index.php file in the folder of each website your hosting for the server to render in a visitors browser

Step 5) Go to your domain registra, and give the domain you own a A record with the I.P address your ISP has assigned to you
5a: Remember, this only works if your the router that is doing the port forwarding is the same router with THAT i.p address, meaning if your ISP router is processing traffic instead of forwarding all of it to your openwrt router, it won't work.
5b: Alternative is to just log into the ISP router, and set their port forwarding to your QNAP server, which would look something probably like this: ISP --> Openwrt Router I.P address with port --> QNAP Server

Step 6) Now, when you navigate to the website using the domain names i.e the urls, it should work!

Loading comments...