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

apache_welcome_page

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

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s