Report this

What is the reason for this report?

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

Posted on November 17, 2015

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…



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!

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.

I believe this is an example of how to get the functionality you want using nginx: https://www.digitalocean.com/community/tutorials/how-to-set-up-nginx-server-blocks-virtual-hosts-on-ubuntu-14-04-lts

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.