Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to modify the default home page of apache

Shulou Source: shulou.com Published: 2022-06-02 00:19:54 10月02日 Update

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!

Tags: Home page article value interest at the same time more friends steps knowledge editing industry information information channels paths channels references learning help support Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno Xiaomi Apple Shulou Technology Microsoft