Hi,
I’m currently hosted on HeartInternet. While their cheapest-package servers are far more powerful than I require, I’m frustrated that I’d have to pay extra to get MySQL support (amongst other things). I also currently use dynamic DNS (via dyn.org/afraid.org domains) to access my own computers.
If I were to move to DigitalOcean (which I most likely will), then I’d have total control over my server’s internal environment (hooray, databases!). Would I also be able to set up my own nameserver on the droplet, to enable a configuration similar to the following (specifically, the “dynamic” entries):
www.mydomain.co.uk => static: points to droplet, for LLMP or LAMP web server. ftps.mydomain.co.uk => static: points to droplet, for ftps. home.d.mydomain.co.uk => dynamic: my home IP address (NAT to handle things from there). work.d.mydomain.co.uk => dynamic: my office IP address (as above).
Basically, could I dump other dynamic DNS providers and have everything accessed via my domain name and my droplet?
Are there any existing guides on how to do anything like this with droplets?
Also, how easy would it be for me to migrate my email over? I don’t use the inbox on HeartInternet, everything that goes into it is pulled into my Gmail account, so I wouldn’t need to migrate any actual data from Heart’s email system. I’d presumably just need to set up an IMAP or POP server for Gmail to pull mail from, and let Gmail’s SMTP handle outgoing messages. Am I missing anything, or would it really be this simple to transfer my @mydomain.co.uk email over?
Thanks, Mark
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!
Hi again, <br> <br>I have PowerDNS set up and it works locally. <br>I’ve set the nameservers for my domain (at the registrar, HeartInternet) to “ns*.digitalocean.com” (*=1,2,3). <br>I’ve created A-records for my subdomains in the DigitalOcean control panel, and pointed them to my server. <br>Included is an A-record for “ns1.mydomain.co.uk”, which points to my server. <br>I also created an NS record that contains “ns1.mydomain.co.uk”. <br> <br>While I wait for the updates to propagate through the DNS network, is there anything else that I need to do? Is there anything listed above that I shouldn’t have done? This is my first play with DNS outside of a private network. <br> <br>Thanks, <br> Mark
If you use Digital Ocean’s DNS server you can create an A record and keep it updated with this script I wrote:
https://github.com/chandwer/DigitalOcean-DDNS
So you would install that on your home server and it would check its external IP address, compare it to the A record, via the DNS API, and update the A record if necessary.
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.