Home > Article > Operation and Maintenance > How to modify the default homepage of apache
The specific steps to modify the default homepage of apache under Linux are as follows:
(Learning video sharing: Programming video)
1. cd /etc/apache2/sites-available
2. vim 000-default.conf
Modify path
ServerAdmin webmaster@localhost
DocumentRoot /var/ www/html/iBook2.0 (show homepage)
3. Restart Apache
service apache2 restart
Related recommendations: apache tutorial
The above is the detailed content of How to modify the default homepage of apache. For more information, please follow other related articles on the PHP Chinese website!