maybe subdomains maybe subdomains

Topic: maybe subdomains

Post maybe subdomains
by axeman3813 on 2021年10月30日

How do i get my domain drakan.dynu.net to point to my server folder, without having to do drakan.dynu.net/drakan

is this done through dynu or my server program, which i am using qnap hosting

Reply with quote | Report
Post Re: maybe subdomains
by patsitsolutions on 2021年10月31日

axeman3813 wrote:How do i get my domain drakan.dynu.net to point to my server folder, without having to do drakan.dynu.net/drakan

is this done through dynu or my server program, which i am using qnap hosting
Point "drakan.dynu.net" to your IP where the qnap device is in "https://www.dynu.com/en-US/ControlPanel/DDNS".

These steps below are all on the qnap:

In the qnap open the webserver app and make sure it's enabled. Set the port number to 8082, make sure http compression is turned on. You can dabble with "enable secure connection (HTTPS)" however I still can't get it to work because it needs a dedicated cert. It will work if you point people to your Let's Encrypt qnap name but you probably don't want to do that. If you do, enable HTTPS further down on the page in the qnap webserver app. Set TLS to 1.0 and later to ensure compatibility, (you can bump this up in the future to more recent TLS versions), and set the port number to 8083. If you choose force secure connection only, then any attempts to access your webserver via HTTP will be redirected to HTTPS. Test with HTTP first before enabling HTTPS.

After you set that up go to the other tab, "Virtual Host" in the qnap webserver app.

"Create a Virtual Host" -->

Host Name: drakan.dynu.net
Root Directory --> Set this to where your website files are, (usually this is the built in "web" folder on the qnap).
Protocol: HTTP
Port Number 8082


This final part is on your router:

You must open the 8082 port and point it to your qnap internal ip, ie. 192.168.1.120

Once that's done check if your port is open from the outside world: "https://www.dynu.com/en-US/NetworkTools/PortCheck", pop in "drakan.dynu.net" and choose port 8082.

Also your router needs to be able to open port 80 and redirect it to 8082 at 192.168.1.120 (ie your qnap IP).


*I'm assuming the qnap is set to 8080 and 8081 respectively as its default login to the backend. Thus why 8082 and 8083 have been chosen for the webserver service.


Edit: Based on "https://sitereport.netcraft.com/?url=http%3A%2F%2Fdrakan.dynu.net%2F" I believe you figured out how to get this working on your own.

Reply with quote | Report
2024年4月19日 12:37
Loading...