Can I run two domain on single Ip address

Hello Team,

I have a query. I have one Ip address i.e. . I want to run two domain and on same IP. Is it possible to do. My both applications are in wordpress. I am newbie. Can you please help me?

Submit an answer

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!

Sign In or Sign Up to Answer

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.


Yes, you can.

You can follow this guide for more than 1 domain if you’re using ubuntu. This is for Ubuntu 16.04.

For WordPress Installation You can follow these steps. This is 16.04

If you have installed 18.04 you can follow this instruction

I had a slightly different problem. I installed the panel on ubuntu server, everything went smoothly without errors. But I can’t figure out how to add several domains to one ip. By default, the panel had one domain (server) with ip xxxxx (this is, as you understand, the local server ip) in the root / home / admin / web, respectively, there is a folder with the name of this domain (server) when the site is placed in it, everything works fine … That is, when the local ip server ip xxxxx opens in the browser, the site itself opens. But when you create other ip domains, you get a different uuuuu with which it is the same for all the new domains that I create, folders with new domains are created normally, but these domains do not open in the browser, what is the problem and how to create 5-10-100 on one ip sites, while I’m interested in creating local sites, I plan to delegate real domains later. In general, the simplest option helped me, it is to place sites on separate domains in separate folders. True, I was looking for this solution for a very long time

Hi team

I just want to confirm that with this process my single droplet [IP] can be pointed to multiple domains?

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel