How to change Default Website Page to Index.php for created websites
version AlmaLinux 8
Current Version: 2.3
Build:5 Current Commit: 59a5c764e64200657fa1a782ef4af1c8e1c5d347
Latest Version: 2.3
Latest Build: 9
Latest Commit: 6f28d39a591b5e08aac6adfcc59b642a58622ea2
Currently, when I create any new website, the index.html file is Default Website Page. I want to change it to be index.php automatically. When I create any new website, index.php is added instead of index.html.
I tried a lot for more than 24 hours
1- I have /usr/local/CyberCP/index.html
I changed to /usr/local/CyberCP/index.php but it didn’t work
–
2-I also tried changing it in the LiteSpeed WebAdmin Console
cd. dmain-host. com:7080
Index Files index.php
But it didn’t work either
I want the individual file to be index.php, I do not want it to be index.html
If you could please help me