Report this

What is the reason for this report?

IP failover or similar / Dynamic hostname

Posted on March 31, 2014

Hi there,

I’m building a service where basically the users will be able to create their own portfolio.

Thus, they will be able to connect their own hostname to my application.

They could do it by modifying the A record and pointing it to my droplet ip.

But, if I loose this ip, every customer would have to reconfigure their hostname…

What would you recommend ?

Thanks for you help



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!

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.

You can let your customers set an CNAME to the domain. <br>This way you have the control of the IP thats connected with the CNAME. <br> <br>"CNAME Records: The CNAME record works as an alias of the A Record, pointing a subdomain to an A record— if an A Record’s IP address changes, the CNAME will follow to the new address. " - https://www.digitalocean.com/community/articles/how-to-set-up-a-host-name-with-digitalocean <br> <br>Good luck!

Hi, <br> <br>Thanks for your answer. <br> <br>Unfortunately you cannot set a CNAME at the root level. This is prohibited by most providers and is against the RFC. <br> <br>This is why I was talking about the A reccord. <br> <br>

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.