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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
@china8x
Please see the response I just submitted for your other post below:
https://www.digitalocean.com/community/questions/how-to-configure-for-multiple-ip-address-on-single-vps
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