QNAP Hosting Websites Part 1: Hosting Multiple Websites Setup

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ต.ค. 2023
  • 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!
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 4

  • @abanesebiane1171
    @abanesebiane1171 4 หลายเดือนก่อน +2

    You are my saviour bro, it's been 3 month i was working to host my website on my qnap but the domain name wasn't working. And now it is finally working.
    Thank you very much for you video

    • @CodeVelazquez
      @CodeVelazquez  4 หลายเดือนก่อน

      You are most welcome, happy to help

  • @zangorjanc8149
    @zangorjanc8149 หลายเดือนก่อน

    how to get domain ?

    • @CodeVelazquez
      @CodeVelazquez  หลายเดือนก่อน

      Are you referring to a domain anybody can go to, or just you? If your talking about one that everyone can go to, which is what I have, you have to already own one, i.e buy a domain name from a service provider. I use to have Google domains, but they sold their take to squarespace, so you can try there and many others.