How to modify the default home page of apache
This article mainly introduces how to modify the default home page of apache, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
The specific steps for modifying the default home page of apache under linux are as follows:
1 、 cd / etc/apache2/sites-available
2 、 vim 000-default.conf
Modify path
ServerAdmin webmaster@localhost
DocumentRoot / var/www/html/iBook2.0 (show home page)
3. Restart Apache
Service apache2 restart
Thank you for reading this article carefully. I hope the article "how to modify the default home page of apache" shared by the editor will be helpful to everyone. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!