How to remove apache test page in CentOS?

How to remove apache test page in CentOS?

If you want to getting apache test page on website then follow the below steps for remove apache test page in CentOS, :

  • Start your Terminal and login to your webserver thru SSH
  • Once logged in, edit this file with your favorite editor

]#vi /etc/httpd/conf.d/welcome.conf

The content of the file should look similar like this:-

How to remove apache test page in centos

 

 

 

 

 

 

 

To remove the apache test page, you need to comments all the line like below :-

How to remove apache test page in centos

 

 

 

 

 

 

 

Now you need to reload or restart the httpd(Apache) service. Follow the below command

]#service httpd reload

OR

]#service httpd restart

Enjoy 🙂 !!!

Bookmark the permalink.

Comments are closed.