I have a Wordpress site hosted on a DigitalOcean droplet. At home, I have a RaspberryPi which is running a web server. I am currently using no-ip’s service to manage a dynamic DNS address. I’d like to stop using no-ip and just have a subdomain point to my RPi’s web server.
I think what I need to do is have my RaspberryPi update an A record periodically, perhaps by using ddclient. Is there a way to do that?
For what its worth, a Raspberry Pi is just a low cost linux box, so it may be more prudent to as how to auto-update an A record with linux instead of how to do with with an RPi.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
This comment has been deleted
Your DNS can be anywhere you want it to be. For example, on one of my droplets I have several websites. Only one of the domains use DigitalOcean DNS. The other domains use DreamHost DNS.
On my home computer I have a couple of sites. One of the domains use FreeDNS. Another of the domains use DreamHost DNS.
The DNS server simply translates the domain into an IP address. As long as your DNS records have the correct IP address set, then when someone types in your domain, they will be sent to the correct IP address. You can use whatever DNS you want to do that.
At your house, you (usually) do not have a static IP, so you have to use some sort of tool that will update your current IP with the DNS server. FreeDNS has some tools available that let you update you DNS settings with whatever your current IP address is. If you use FreeDNS as your DNS server, then you can run that tool on your little raspberry as a cron, and it will tell FreeDNS anytime your IP changes…
Also, if you use FreeDNS you can set an A-record for the main domain to point to your Droplet, and another A-record to point the sub-domain to your raspberry pie.
I am sorry about the lengthy post.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.