Multiple websites/domains with different IP addresses on single VPS/webserver

Posted November 17, 2015 13.9k views
NginxApacheDigitalOceanNetworkingDNSControl Panels

Hi all,

I have a webserver as Linux (Centos, nginx, apache…). Now i want to run multiple websites/domains with different IP addresses on my single VPS/webserver…

(I can run multiple website with single ip but i can’t run multiple website with different ip.)
…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.

Submit an Answer
2 answers

I believe this is an example of how to get the functionality you want using nginx:

by Justin Ellingwood
Nginx is an incredibly powerful web server and reverse proxy. In this guide, we'll discuss how to set up server blocks on Ubuntu 14.04 in order to server multiple domains from a single server.