I’m setting up a droplet that is going to serve many domains. I have to make a choice as to - which IP address should all these domains’ A record point to. So I need a permanent IP that I know I can safely keep forever and of course, the best would be to be able to change the droplet behind that IP address if any problem comes up.
So floating IP sounds like the only choice I have in DO and that is a good solution for me, but I need to know:
Thanks in advance!
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!
Hello @alonLobster
Regards
Simon Founder and CEO - SnapShooter DigitalOcean Backups
Hey Simon,
Just to clarify the DNS suggestion - do you mean using a DNS server and pointing all of the domains’ NS records to it?
I’m going to be serving many domains that I don’t own and I wouldn’t want to manage their DNS, so I need to be able to provide a safe and permanent IP address for their A records. If only I could point an A record to a resolvable host name whose IP I could change at any time, that would be perfect, but it’s impossible for all I know.
Thank you for your quick response!
Hey @alonLobster This reply is almost a year later but here’s my two cents:
Lose the floating IP? No, as long you don’t delete the Floating IP from the dashboard or your account is suspended. If the Floating IP is not assigned to a droplet then DO will charge for the IP reservation ($4/month as of Aug 2021). But, obviously, a Floating IP should be assigned, that’s the point and it’s free to use.
Better solution? - I use Cloudflare to manage the DNS. Makes things much simpler from your perspective. Unless your clients won’t allow that. You can easily update IP addresses in the DNS records instantly you just need to point the domain’s NS records to Cloudflare. Plus they have a free plan with all the extras (DDoS protection, etc) that really does make it worth it. I know you said you don’t want to manage DNS, but using Cloudflare for my projects and clients has taken a lot of headache out of dealing with updating DNS records and messing with clunky domain registrars’ interfaces too. I also use a Floating IP on top of this to make it simpler for upgrades or changes to droplets if I need to crash one without having to update DNS.
Extra Floating IP’s? - You can make a request for it. They may want to know how many you want but usually if it is within reason DO will accomodate you.
Get an IP back? - Nope, once you crash a droplet or release a Floating IP you cannot get it back. So be sure you really don’t want to lose it before deleting it.
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.