Accessing webpage from remote location + custom domain nameserver

Post your questions about Web Server usage and Apache + PHP + MySQL/SQLite web applications.
Post Reply
jmmagomes
First post
Posts: 1
Joined: Sat Feb 20, 2021 6:54 pm

Accessing webpage from remote location + custom domain nameserver

Post by jmmagomes » Sat Feb 20, 2021 8:52 pm

Hello,

I’m trying to use my QNAP TS-253D as a web server hosting my webpage. The web page I’m building is in WordPress.

I’m having difficulties with 2 issues.

The first issue is related with accessing the webpage stored in QNAP “Web Server” from a remote location. The second issue is related the configuration of a custom domain.

Issue 1

The problem is that I can’t’ access my webpage while in a remote location, but I’m able to access it when I’m in the same network.

The steps I’ve made are the following:

1. activate the “Web Server” on the “Control Panel”

2. activate “SQL server” on the “Control Panel”

3. configure myQNAPcloud

3.1. enabling “Port forwarding” in my router for the “Web Server” and “Secure Web Server” services

3.2. enabling “My DDNS” service after

3.3. activate “SSL Certificate” purchased from QNAP

4. install and configure “PhpMyAdmin” and “WordPress”

The “PhpMyAdmin” and “WordPress” are in the respective folders inside the QNAP “Web” shared folder


After following those steps I’m able to access my webpage while in the same network with “https://[NAS local IP address]:8081/wordpress/”.

The problem is accessing my webpage from a remote location.

When I use the address “https://[myQNAPcloud DDNS domain name].myqnapcloud.com/wordpress” I get the following error:
Error page.png
When I’m in my local network and use the address “https://[myQNAPcloud DDNS domain name].myqnapcloud.com:8081/wordpress” I get redirected to the address “https://[NAS local IP address]:8081/wordpress/” and my webpage is displayed.

When I’m in a remote location and use that address, I also get redirected to the address “https://[NAS local IP address]:8081/wordpress/” but, obviously, my webpage is not displayed.

What am I doing wrong?

Issue 2

The second issue is related with connecting a custom domain name to my web page.

I’ve purchased a domain name. In the domain management page, which are the addresses namesevers I should use to point my domain to?

I’ve tried [myQNAPcloud DDNS domain name].myqnapcloud.com and [myQNAPcloud DDNS domain name].qcloudnas.com but using www.whatsmydns.net/, the domain isn’t pointed anywhere.

Kind regards,

Jose Mario Gomes
You do not have the required permissions to view the files attached to this post.

User avatar
dolbyman
Guru
Posts: 21782
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Accessing webpage from remote location + custom domain nameserver

Post by dolbyman » Sat Feb 20, 2021 9:52 pm

never expose any part of your qnap to WAN..qts or webserver (not secure)

use a vpn to access your nas(does not cost money) ..and a webhoster to host your website

Post Reply

Return to “Web Server & Applications (Apache + PHP + MySQL / SQLite)”