By speederstyle
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!
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>
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.