Report this

What is the reason for this report?

After installing wordpress (LAMP on ubantu 18.04) the wordpress not launching

Posted on May 15, 2020

I followed all the relevant docs and installed LAMP but the word press wont come up! there was a text index.html page to test the Virtual Host that comes up !! but not the wordpress!!

Anyone knows why?



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!

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.

Hi @cyruscaviani, what is the full path to the index.html that you’ve removed? Based on your description (removing index.html then seeing a directory listing in your browser instead of the WordPress index.php), it sounds like your domain’s virtualhost may not be correctly configured to point to the directory where you’ve installed Wordpress. You might want to check the Apache virtualhost for this domain (it should be located in /etc/apache2/sites-enabled/) and ensure that the DocumentRoot option is set to the directory where you’ve installed Wordpress.

Hi JacobG,

The index.html was test file created to test the virtual host ( following the recommendation on one the installation document) located here > /var/www/My-Domain/index.html. I deleted the Index.html but now it is a blank page index of / … etc. I did follow this > How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 18.04. All the section were successfully installed ! All section of the installation were successful and no error!

Many Thanks for the reply

Cyrus

Hi there @cyruscaviani,

You could try deleting the default index.html file from your document root.

For example if you are using the /var/www/html directory then you have to run:

sudo rm /var/www/html/index.html

After that, your WordPress installation should start loading as normal.

Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.