Question

Creating second Wordpress site with different domain - Cannot get past Virtual Host success page after every install

Using this as my main guide (https://www.digitalocean.com/community/tutorials/how-to-set-up-multiple-wordpress-sites-using-multisite), I’m following the set-up to make sure I’ve dotted all the i’s and crossed all the t’s. I had followed the first set-up instructions as if installing it for the first time first, but that hadn’t worked, then I adjusted it for where the directories were actually created.

First, I followed these steps (https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-16-04 and successfully created the Virtual Host success page) to configure my new domain.

Then, I tried following these steps (https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-16-04), but I cannot get the Apache default page to show. It’s stuck on the Virtual Hosts success page. I started thinking it was because I already have it installed from my first domain on that same server and I continued on. I was able to get through the mysql and PHP steps just fine, but in order to get the info.php page to show, I had to create the php page in /var/www/DOMAIN.com/public_html contrary to the /var/www/html/ page specified by the instructions.

After that, I moved on to downloading Wordpress to see if there was something really going on. I didn’t hit any obstacles in downloading and installing, but it still shows the Virtual Host success page in the end instead of the Wordpress page.

I’ve gone back multiple times and retraced my steps to make sure I didn’t miss anything, but I still cannot figure it out. I may still be missing a step, but I’m not sure what it is.

Subscribe
Share

Submit an 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.

Hello,

You do not need to follow the second article as you already have the LAMP stack installed. It is only enough to follow the steps from the first article that you’ve mentioned on how to set up virtual hosts:

https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-16-04

The what I could suggest is making sure that the permissions of your /var/www/DOMAIN.com/public_html directory are set up correctly so that Apache could read/write to that directory.

If you face any other problems I would suggest following the steps here on how to troubleshoot common Apache issues:

https://www.digitalocean.com/community/questions/how-to-troubleshoot-common-apache-issues-on-linux-server

Regards, Bobby