Disable Apache First Test Page

In this tutorial I will show you how to disable Apache first test page.

Disable Apache First Test Page

To disable Apache first test page simply comment out the below lines or delete the below file.

Edit Welcome.conf

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

Comment Out Unnecessary Lines

# This configuration file enables the default "Welcome"
# page if there is no default index page present for
# the root URL. To disable the Welcome page, comment
# out all the lines below.
#<LocationMatch "^/+$">
# Options -Indexes
# ErrorDocument 403 /error/noindex.html


Restart the Service

Service httpd restart

Subscribe to
for video tutorials updates