By Lu Thang
I am using one droplet with CentOS and Vestacp installed on them. Also I assigned a Floating IP to that droplet. In Vestacp i created two accounts for my two domains. At the registrar I pointed them to the digitalocean NS servers. In the domain section of digitalocean I created entries for the two domains. Both of the domains respond at ping requests from the floating IP. The problem is that when I try to access the domain by http I land on the cgi-sys/defaultwebpage.cgi page.
Please if you could tell me what further settings must I operate in Vestacp so that both of my domains work.
Thank you 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!
Me too having issues.
Realized the issue. Somehow the droplet’s original 'AnchorIP (eg 10.0.1.15) is missing from vestacp’s IP list on the dashboard. Added the Anchor IP with subnet mask, then tested working fine.
The theme is : the floating IP is always looking for the AnchoIP of the droplet, not the public IP. So, our vestacp server should listen the anchorip too as one of a ip on the webserver (by default it will)
curl -s http://169.254.169.254/metadata/v1/interfaces/public/0/anchor_ipv4/address
Add the anchor IP on vesta yourdomain.com:8083/list/ip/ PS: use the same Netmask your public ip is using
Change your website IP from the private IP to the anchor IP yourdomain:8083/edit/web/?domain=yourdomain --> IP Address
That’s it, you are listening to the floating ip
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.