Question

How to configure for multiple IP address on single VPS!

Posted November 17, 2015 15.8k views
DigitalOceanNetworkingDNS

Hi all,
Can u tell me : How to configure for multiple IP address on single VPS!
…please guide me.... thankssss…

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.

×
1 answer

@china8x

Each Droplet is only allowed a single IPv4 IP, so you would not (currently) be able to configure your Droplet to support multiple IP addresses. Instead, you would utilize the primary IP as the main IP for multiple domains.

All modern web servers (Apache, NGINX, Caddy etc) provide support for what is called SNI, or Server Name Indication, which allows a single IP to support not only multiple domains, but also multiple SSL certificates (if SSL is a concern).

SNI does not require any further configuration and it’s native to all three of the web servers I listed above, so you wouldn’t need to specifically configure anything differently to utilize it.

If you physically require each website to have a unique IP address, you would need to deploy each website to its own Droplet.

Submit an Answer