How I can change Apache2's main page to a custom page of my own?
Asked
Active
Viewed 2,623 times
0
1 Answers
2
Simply remove the file /var/www/html/index.html and replace it with your own /var/www/html/myown.html, and restart apache. Or simply replace the contents of the /var/www/html/index.html with yours.
NOTE:
Your file will also be called index.html not myown.html as I have used it here!
George Udosen
- 36,677
-
Add yourself to the www-data group, then change file group ownership to www-data group, then restart apache and logout and login again! – George Udosen Oct 13 '18 at 18:22
-
-
-
/var/www/html/index.htmland add your own/var/www/html/myown.html– George Udosen Oct 13 '18 at 14:07