How to remove welcome page from Apache for CentOS 6

If after your yum install httpd, you will notice that the apache has a welcome page similar to


Step 1: To remove the welcome banner, go to /etc/httpd/conf.d

# vim /etc/httpd/conf.d/welcome.conf

Step 2 Inside Comment Out Everything…… inside /etc/httpd/conf.d/welcome.conf

Step3 : Restart httpd

# service httpd restart

Step 4: Check out….