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….

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.