Sunday, 9 September 2018

How to disable the Apache default welcome Page in CentOS 7



Post apache (httpd) installation, a default Welcome Page created inside apache document root directory or /etc/httpd/conf.d/ directory.

To remove or customize as own to the default welcome page, rename file /etc/httpd/conf.d/welcome.conf as backup or can delete the file.

[root@linuxcnf ~]# mv /etc/httpd/conf.d/welcome.conf /etc/httpd/conf.d/welcome.conf_ORI

Run the following command to reflect the changes:

[root@linuxcnf ~]# systemctl restart httpd

Done!

No comments:

Post a Comment