+3 votes
in General IT Tips by (14.6k points)

I found the following error in the error log on my website. How can I fix it?

Cannot serve directory /public_html/.well-known/: No matching DirectoryIndex (index.php) found

1 Answer

+2 votes
by (48.7k points)

It seems that your apache configuration file or ".htaccess" file has "DirectoryIndex index.php," and you do not have "index.php" in the folder public_html/.well-known/.

You can add an empty "index.php" in public_html/.well-known/, and you should not get this warning message.