How to set up 2 domains on one droplet without control panel using multisite?
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.
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.