I have a server with single ip include NAT ip. What is the proper way to add another IP? Just the External no NAT is needed.
No mater what i did the website (with the new ip) get redirected to a general page " Success! Your new web server is ready to use."
For demonstration this is what i get when I run “v-list-sys-ips”
IP MASK NAT STATUS
192.168.0.100 255.255.255.0 123.456.789.111 shared
Hi yapsr, I don’t have experience with floating ips on DO. Is it dynamically changes for the droplets? If so this is something you have to check how they interact with the “interfaces” file.
Can you run “v-list-sys-ips”?
The publicly accessible floating IP is mapped to one specific IP of the VPS, which is called the “anchor IP”.
It turns out the anchor IP is private, in my case 10.18.x.x. I mistakenly thought it was the public IP, but apparently it’s not. You can find this in the meta data runing curl -s http://169.254.169.254/metadata/v1/interfaces/public/0/anchor_ipv4/address from the command line in the VPS.
So the concrete solution in Hestia is to edit the private anchor ip address 10.18.x.x and set the NAT IP association to the public floating IP. All web domains that should listen to the floating IP should be set to this floating ip.