How to set up 2 domains on one droplet without control panel using multisite?

January 5, 2015 3.5k views

Dear All,

I’m a complete noobie, so please, bear with me. I’ll try to be as detailed as possible:

I have done all the initial Ubuntu 14.04 setups, additional setups, installed LAMP Stack and installed wordpress using

Then, I did what was suggested here - configured secure updates using this:

Everything is ok. I am having some problems but finding the answers on this community, thanks to you guys.

I’ve looked at many other posts that sounded like my problem with 2 domains, but couldn’t find anything like I was searching for.

Now that I have a wordpress website installed and running already on my droplet, is there any way I can add a second domain name?

I used this method to setup multisite:

Everything went well, except for when I typed it kept redirecting me to old…

At that point, I opened up my putty and undid everything I had done and my single site is running just fine.

but I can’t figure out a way to add a separate domain that doesn’t redirect to my old site (the one already hosted on my droplet)

Can you help me with that? If I’m not specific enough, please, ask me anything and I will give you as many details as possible.

P.S. I don’t have any control panel installed. Zpanel got my blocked a few times and I didn’t like IPSConfig, so I went with no control panel.


  • I’ve only setup two domains whose A records point to the same machine but different CNAMEs that match their respective domain names. I then modified apache and the web directory structure for vhost operations. This works to get to the domain specific web pages. Unfortunately I have not tried multisite configuration for WP, so can’t help you there. Hope that helps.

  • @gndo could you tell me more about this:
    I then modified apache and the web directory structure for vhost operations.

  • by Justin Ellingwood
    The Apache web server is the most popular way to serve web content on the internet. Apache has the ability to serve multiple domains from a single server by using a mechanism called "virtual hosts". If a virtual host is configured correctly for each domain, the web server can correctly route traffic to the appropriate files based on the domain name requested. In this guide, we'll demonstrate how to configure Apache virtual hosts on an Ubuntu 14.04 VPS.
1 Answer

WordPress Multisite can be used to create a “network” of blogs. In your case, it sounds like you want to simply create two separate WordPress instances on the same server. If that’s the case, you should check out this tutorial:

It walks you through the process of setting up two WordPress blogs on the same server using Apache Virtual Hosts to direct requests to the correct domain.

by Justin Ellingwood
WordPress is a popular content management system (CMS) that can be used to quickly launch blogs and websites. In this guide, we will discuss how to launch two separate blogs, each associated with their own domains, from one VPS.
Have another answer? Share your knowledge.