F5F Stay Refreshed Power Users Networks Configure your domain to connect with a DDNS provider.

Configure your domain to connect with a DDNS provider.

Configure your domain to connect with a DDNS provider.

M
MarissaGames
Member
216
02-23-2023, 02:11 AM
#1
So... The second post I made looking for help today... I feel wrong. This isn't how I'm supposed to work. I'm supposed to fix other people's problems!!! Anyways, here's what's going on: I have a server which I want to use for development, mainly. So I want ssh access to it from anywhere. I also may spin up a website on it, and some other tools on various ports. Setting that up on the server isn't hard. set those ports to listen, start the services, whatever. So i have done that, (at least for sshd) I set up a dynamic dns service for my router. I have had an account for a long time with noip, but my router integrates with dlinkddns, so i set that up so i don't have to run a program to update the dns provider at all when my IP changes. I have an address from them, and set that up in my router. I also forwarded the ports I need for the reserved IP of my server. I can ssh into that server from anywhere using the ddns as the hostname. So this works. The issue comes when I try to use my own domain that I purchased to do the same thing. I purchased a domain from squarespace (cause I wanted to give a certain content creator a little kickback or at least partner satisfaction), and I plan to use that domain as the domain to access my server. Now, I have tried a bunch of configuration options on there... but nothing has worked frankly. If someone is willing to help, i'll be glad to share what i've tried so far (to the best extent my memory will allow), but if anyone simply knows how to do this and can tell me, I would be the giddiest of posters Thanks, pre-emptively!
M
MarissaGames
02-23-2023, 02:11 AM #1

So... The second post I made looking for help today... I feel wrong. This isn't how I'm supposed to work. I'm supposed to fix other people's problems!!! Anyways, here's what's going on: I have a server which I want to use for development, mainly. So I want ssh access to it from anywhere. I also may spin up a website on it, and some other tools on various ports. Setting that up on the server isn't hard. set those ports to listen, start the services, whatever. So i have done that, (at least for sshd) I set up a dynamic dns service for my router. I have had an account for a long time with noip, but my router integrates with dlinkddns, so i set that up so i don't have to run a program to update the dns provider at all when my IP changes. I have an address from them, and set that up in my router. I also forwarded the ports I need for the reserved IP of my server. I can ssh into that server from anywhere using the ddns as the hostname. So this works. The issue comes when I try to use my own domain that I purchased to do the same thing. I purchased a domain from squarespace (cause I wanted to give a certain content creator a little kickback or at least partner satisfaction), and I plan to use that domain as the domain to access my server. Now, I have tried a bunch of configuration options on there... but nothing has worked frankly. If someone is willing to help, i'll be glad to share what i've tried so far (to the best extent my memory will allow), but if anyone simply knows how to do this and can tell me, I would be the giddiest of posters Thanks, pre-emptively!

C
ClaireBearYT
Junior Member
24
02-23-2023, 04:50 AM
#2
Because a plain domain can't be linked directly via CNAME to a DDNS record you already possess, the only viable option is to employ a DDNS service as your DNS provider for the entire domain. You might opt for Cloudflare, even though they aren't strictly a DDNS provider, you can leverage their API for this purpose. Direct your domain's nameservers to their platform (you'll need to sign up). Once you create a DNS zone using your present dynamic IP address, you can utilize ddclient (or any other DDNS client) to refresh the records across the entire zone whenever your IP changes. I recommend pairing Cloudflare with ddclient since they integrate smoothly through their API, though any alternative provider would be acceptable. Reminder: If you plan to use a dynamic IP, set the TTL to a low value to avoid DNS caching issues.
C
ClaireBearYT
02-23-2023, 04:50 AM #2

Because a plain domain can't be linked directly via CNAME to a DDNS record you already possess, the only viable option is to employ a DDNS service as your DNS provider for the entire domain. You might opt for Cloudflare, even though they aren't strictly a DDNS provider, you can leverage their API for this purpose. Direct your domain's nameservers to their platform (you'll need to sign up). Once you create a DNS zone using your present dynamic IP address, you can utilize ddclient (or any other DDNS client) to refresh the records across the entire zone whenever your IP changes. I recommend pairing Cloudflare with ddclient since they integrate smoothly through their API, though any alternative provider would be acceptable. Reminder: If you plan to use a dynamic IP, set the TTL to a low value to avoid DNS caching issues.

P
Poyel
Member
134
02-23-2023, 10:15 AM
#3
Are you checking if CloudFlare is available at no cost? Also, would using a ddns service work better for you, and would you prefer sticking with D-Link since your router updates IP addresses automatically?
P
Poyel
02-23-2023, 10:15 AM #3

Are you checking if CloudFlare is available at no cost? Also, would using a ddns service work better for you, and would you prefer sticking with D-Link since your router updates IP addresses automatically?

M
MeGustaElSexo
Member
173
02-23-2023, 10:48 AM
#4
I understand now to send the subdomain to the ddns address. ssh.domain.example works fine. Appreciate the assistance!
M
MeGustaElSexo
02-23-2023, 10:48 AM #4

I understand now to send the subdomain to the ddns address. ssh.domain.example works fine. Appreciate the assistance!

P
132
02-25-2023, 11:16 AM
#5
Yes, you can redirect any subdomain to your existing DDNS using a CNAME. The only domain you can't assign is the bare domain, since it requires an A record. For my suggested approach, you needed a DNS zone provider that offers DDNS functionality. Edited March 19, 2018 by RixzZ Fixed typo
P
PremierTrotsky
02-25-2023, 11:16 AM #5

Yes, you can redirect any subdomain to your existing DDNS using a CNAME. The only domain you can't assign is the bare domain, since it requires an A record. For my suggested approach, you needed a DNS zone provider that offers DDNS functionality. Edited March 19, 2018 by RixzZ Fixed typo

C
CensingJoker66
Junior Member
4
02-26-2023, 08:11 PM
#6
Sure, I’ll keep this in mind. If I ever set up a proper site on this box, I’ll need to do that, but I don’t expect to do it right away. For now, it’s mainly for development work, so creating custom domains for each app is fine. Appreciate the support—this might come into play later when I start building a site.
C
CensingJoker66
02-26-2023, 08:11 PM #6

Sure, I’ll keep this in mind. If I ever set up a proper site on this box, I’ll need to do that, but I don’t expect to do it right away. For now, it’s mainly for development work, so creating custom domains for each app is fine. Appreciate the support—this might come into play later when I start building a site.