Question

Two IP addresses?

  • Posted August 3, 2013

I need two IP addresses, does creating two droplets on different location serves the same purpose?

Subscribe
Share

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.

“SNI isn’t a workable solution.” <br> <br>+1!

SSL. There isn’t a reliable way to run SSL for more than one domain without having more than one IP address. <br> <br>*reliably meaning yes; IE is still out there and actively being used. So no, SNI isn’t a workable solution.

Out of curiosity, what can be done w/two IPs on one server that cannot be done with two servers?

You can spin up another server then use ‘simpleproxy’ to forward ports over to the other server. This is the only way ive found to get multiple IP’s on a droplet. Just set up what you want on the other ip onto a port, then on the other server proxy the port the program needs to the port its set up on. <br> <br>apt-get install simpleproxy <br> <br>Usage (run this command, i recommend running it under crontab) <br> <br>simpleproxy -L 0.0.0.0:80 -R 0.0.0.1:8080 <br> <br>Forwards all connections from 0.0.0.0:80 to 0.0.0.1:8080, the first ip (0.0.0.0:80) can just be the port to move any connection from port 80 to the other location (0.0.0.1:8080). <br>

How do you plan to steal the IP? The KVM servers have NIC also virtualized. I’m not sure what you say it possible.

**Can I

I can spin up a new droplet and then “steal” the IP by assigning it to my first droplet? <br>

<b>“… does creating two droplets on different location serves the same purpose?”</b> <br> <br>It depends on what you need the two IP address for.

Unfortunately due to the limited amount of IPv4 space available globally, we will not be introducing multiple IPv4 addresses on a single droplet.