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

Posted June 14, 2018 1.1k views
ApacheWordPressLAMP StackDigitalOceanUbuntu 16.04

Using this as my main guide (, 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 ( and successfully created the Virtual Host success page) to configure my new domain.

Then, I tried following these steps (, 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/ 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.

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.

Submit an Answer
1 answer


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:

The what I could suggest is making sure that the permissions of your /var/www/ 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:


by Brennen Bearnes
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 16.04 server.