The objective is to disable the default Apache (httpd) welcome page on Redhat Linux

Operating System and Software Versions

  • Operating System: - Red Hat Enterprise Linux Server 7.3 (Maipo)
  • Software: - Apache/2.4.6 (Red Hat Enterprise Linux)


Privileged access to your RHEL server system will be required.




  • # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ - requires given linux commands to be executed as a regular non-privileged user


Disable Welcome Configuration

Any Apache configuration file with extension .conf located within /etc/httpd/conf.d/ will be included as part of Apache configuration. Thus to disable the default "Welcome" page configuration we need to rename its configuration /etc/httpd/conf.d/welcome.conf:
# mv /etc/httpd/conf.d/welcome.conf /etc/httpd/conf.d/welcome.backup

Restart Apache

Restart Apache's httpd daemon:
# systemctl restart httpd
All done.
Please refer all article related questions to:

You may also be interested in: