How I can change Apache2's main page to a custom page of my own?
Asked
Active
Viewed 1,479 times
0
-
Remove the this file `/var/www/html/index.html` and add your own `/var/www/html/myown.html` – George Udosen Oct 13 '18 at 14:07
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
- 35,970
- 13
- 99
- 121
-
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
-
-
-