How do you properly edit the 'Apache is functioning normally' message

Gijsdtdev

Verified User
Joined
Aug 27, 2019
Messages
6
I want to redirect to our website instead of the server showing 'Apache is functioning normally'. But the files I edit in /var/www/html keep getting overwritten whenever I update DirectAdmin. Is there a way to remove the index.html permanently from /var/www/html and replace it with index.php?
 
Hello,

You must be doing something wrong. Which files do you edit?

Create index.php under the folder and configure .htaccess file to first open index.php instead of index.html.
 
I tried to delete the index.html file and placed a index.php file instead. Apache by default searches for the index.html file first.
Your solution is a good one. Thanks!
 
Back
Top