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!
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.