Thursday, August 28, 2025
HomeGuest BlogsHow To remove Apache welcome/test page on CentOS 7/8

How To remove Apache welcome/test page on CentOS 7/8

The Apache HTTP Server is free and open-source cross-platform web server released under the Apache License. After installation of Apache web server on a CentOS operating system, there is a default welcome test page which looks similar to below.

apache test page

To remove this welcome page, delete the file

sudo rm -f /etc/httpd/conf.d/welcome.conf

Restart httpd service after deleting welcome test page configuration file.

sudo systemctl restart httpd

If you access the Server hostname or IP address, you should get a directory listing unless you have a web application.

apache directory listing

Check other Apache related articles in our blog.

Install Varnish Cache 6 for Apache/Nginx on CentOS 7

Install Apache with mod_ssl & mod_http2 on CentOS / RHEL 8

How to Monitor Apache Web Server with Prometheus and Grafana in 5 minutes

RELATED ARTICLES

Most Popular

Dominic
32236 POSTS0 COMMENTS
Milvus
80 POSTS0 COMMENTS
Nango Kala
6609 POSTS0 COMMENTS
Nicole Veronica
11779 POSTS0 COMMENTS
Nokonwaba Nkukhwana
11828 POSTS0 COMMENTS
Shaida Kate Naidoo
6719 POSTS0 COMMENTS
Ted Musemwa
7002 POSTS0 COMMENTS
Thapelo Manthata
6678 POSTS0 COMMENTS
Umr Jansen
6690 POSTS0 COMMENTS