Question

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

  • Posted on January 5, 2015
  • ikobulovAsked by ikobulov

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 https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-on-ubuntu-14-04

Then, I did what was suggested here - configured secure updates using this: https://www.digitalocean.com/community/tutorials/how-to-configure-secure-updates-and-installations-in-wordpress-on-ubuntu

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: https://www.digitalocean.com/community/tutorials/how-to-set-up-multiple-wordpress-sites-using-multisite

Everything went well, except for when I typed site2.com it kept redirecting me to old site1.com

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.

Thanks!

Show comments

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.

Want to learn more? Join the DigitalOcean Community!

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.

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.