Report this

What is the reason for this report?

{serverip}/wp-admin shows Index of /wp-admin

Posted on April 9, 2021

I am fairly new to this, so I assume it is an easy-to-fix problem.

I installed LAMP on Centos 7 and Wordpress under /var/www/html

Everything seems to be working, but when I try to get to the Wordpress Welcome page on a browser I get the “Index of /wp-admin” page instead.

What am I doing wrong?



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 @johantwelli1,

Can you confirm one of the following as I’m not sure I completly understood, when you load your website, let’s say domain.com, you are redirected to domain.com/wp-admin/index.php?

If the above example is not correct, can you please explain the which page exactly are you trying to load and what is shown afterwards?

Regards, KFSys

Hi @johantwelli1,

It does seem like your application is not actually using any PHP. Have you installed PHP on your server? You can check that with the following command:

php -m

Looking forward to your reply!

Regards, KFSys

Hi @johantwelli1,

While we try to resolve your issue, let me give you an alternative which you can use :

https://marketplace.digitalocean.com/apps/wordpress

It’s the MarketPlace WordPress droplet. The droplet comes installed with everything needed for you to start + when you login you can directly install wordpress.

Regards, KFSys

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.