Question

Adding a subdomain pointing at a server on a dynamic IP?

  • Posted May 4, 2014

Along with the 5 droplets I have through DigitalOcean, I host a small server at home on a dynamic IP address.

Is there any way to set that server up as a subdomain on my primary domain (kjsr.net), with the dynamic IP address? And if so, how would I go about setting up things so it updates the IP the subdomain automatically?

I already have a DynDNS acount, but their prices are going up drastically this year, so I’d prefer moving the server under my own domain completely.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

For a quick solution, I’d recommend http://freedns.afraid.org/; there you can get a free sub-domain and a simple script which will update the DNS record with them, then you can create a CNAME on your own domain pointing to the free sub-domain. <br> <br>Alternatively, with a bit more work, you could use the DigitalOcean API to update an A record for your DNS.