Home  >  Article  >  Operation and Maintenance  >  How to modify the default homepage of apache

How to modify the default homepage of apache

王林
王林forward
2020-12-30 10:05:264952browse

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!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete