IP failover or similar / Dynamic hostname

  • Posted 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


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.

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>

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. " - <br> <br>Good luck!