Set up public name servers with multiple ip's

July 15, 2016 3k views
Configuration Management DNS Control Panels CentOS

At my previous host my vps server came with 3 ip addresses which easily allowed for me to set up cpanel and host my nameservers and websites on the same server. So for example we would have going to 1 ip, going to a second ip and a third ip for routing to domain names hosted on the server. How would I achieve a similar set with your services. It appears I can only assign 1 ip per droplet here with Digital Ocean?

1 Answer

It is currently not possible to assign multiple IP addresses to to droplets. You can however use the same IP address and assign it to both of the nameservers.

If you are unable to use the same IP address, you can also look into DigitalOcean Floating IP addresses. You can redirect traffic to the Droplet using Floating IP addresses.

by Mitchell Anicas
This tutorial will show you how to create a new Floating IP and assign it to one of your DigitalOcean Droplets using the DigitalOcean Control Panel. It will also cover how to reassign the Floating IP, so it points to another Droplet.
Have another answer? Share your knowledge.