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?
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 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 @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 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
I have deleted the index.html ( /var/www/my_domain/index.html ) but still the wordpress not loading .
The directory structure is /var/www/my_domain and /var/www/wordpress and /var/www/html
is that right ? the installation of LAMP and Wordpress went all well but it is not loading ! /var/www/wordpress# ls index.php wp-blog-header.php wp-cron.php wp-mail.php license.txt wp-comments-post.php wp-includes wp-settings.php readme.html wp-config-sample.php wp-links-opml.php wp-signup.php wp-activate.php wp-config.php wp-load.php wp-trackback.php wp-admin wp-content wp-login.php xmlrpc.php
These are the files in the wordpress there is index.php ! What needs to be done ?