Following situation: I got a server at home which runs a NextCloud Docker, which is reachable through Port 8080
. Since I need to make it accessable for others (without VPN) and I got a DS-Lite + IPv6 connection, I used the MyFritz-Adress and PortForwarding to access it from outside my network via
http://server.XXXXXXXX.myfritz.net:12345
where server
is my device and XXXXXXXX.myfritz.net
is the MyFritz-Adress.
This works perfectly fine. But since this is quiet ugly, I wanted to use my domain habun.de
, which I purchased from Hostinger.com, to make it prettier.
For that I made a CNAME DNS-Record
Type: CNAME
Name: pine
Priority: 0
Points to: pine.XXXXXXXX.myfritz.net
TTL: 14400 (default)
Then I added http://pine.habun.de
to the DNS-Rebind-Protetion
and waited around 24h (DNS Propagation?). In theory I should be able to access my Cloud now from http://pine.habun.de:8080
but I can't... FireFox says "Server not found" (Tried cleaning cache and other browser as well)
So I tried two other DNS-Records
Type: CNAME
Name: home
Priority: 0
Points to: XXXXXXXX.myfritz.net
TTL: 14400 (default)
where https://home.habun.de
should lead me to my FritzBox and
Type: CNAME (ALIAS)
Name: @
Priority: 0
Points to: XXXXXXXX.myfritz.net
TTL: 14400 (default)
where https://habun.de
should lead me to my FritzBox as well.
Added both hostnames to `DNS-Rebind-Protection and waited 24h again, but still can't access my FritzBox... Same error as before.
Then I asked the support of Hostinger and they recommended deleting the default A Record, which I did and waited again 24h, but still the same error...
Right now I only have the 3 CNAME, a bunch of default CAA and 2 NS Records. The NameServers are the default NameServers of Hostinger.
I looked at various instructions but they all said I can just make a CNAME Record pointing to the MyFritz-adress... Did I overlook something or does anyone have an idea what could be the issue?
Edit:
habun.de
is the actual domain I have and the nameservers are the default nameservers of Hostinger
ns1.dns-parking.com
ns2.dns-parking.com
EDIT 2: Turned out that everything was correctly setup and the issue was with Hostinger. My domain wasn't delegated to 'de' correctly. Solved by temporarily switching NameServer and then back to Hostinger NameServes, which resynced my domain. Now everything works as it should. Solution came from @user1686 (see the discussion in the comments to his/her post).
habun.de
the actual domain name you've purchased or just an example?