Why do I see Apache Test page?

Everyone must be familiar with “Oklahoma city threatens to call FBI over ‘renegade’ Linux maker” story.

Despite this, many of our new clients/customer and new admin/user does not understand why would a website show an Apache Test page ?

Apache test page means…

The Apache test page, means your server is configured properly and ready to use. Technically speaking this page is the default index page when you install Apache web server first time.

So how can I make the Apache test page go away?

Simple open your /var/www/index.html file and modify it or delete file (though it might trigger new error). Under Red Hat Enterprise Linux/CentOS/Fedora Core, rename or delete a file /etc/httpd/conf.d/welcome.conf to make sure you do not see Apache test page.

You may now add content to the directory /var/www/html/. Note that until you do so, people visiting your website will see default page and not your content. To prevent this page from ever being used, follow the instructions in the file /etc/httpd/conf.d/welcome.conf.

If you do not know much about Apache web server, configuration it is better to take help of seasoned Linux/Unix administrator, IMHO.

🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 11 comments so far... add one

CategoryList of Unix and Linux commands
Disk space analyzersdf duf ncdu pydf
File Managementcat cp mkdir tree
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Modern utilitiesbat exa
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg glances gtop jobs killall kill pidof pstree pwdx time vtop
Searchingag grep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
11 comments… add one
  • David Chan Jun 5, 2010 @ 7:51


    After usung cuteFTP to transfer my files for the website to the server, my websit cannot be displayed and the Apache Test page blcok the webiste site.

    I am not using Linux and is not using Apache serve, please advice how can I remove this page from blocking my website site.

    My webiste is a for a church, please help.


  • Tahir Mehmood Mar 7, 2011 @ 9:21

    when i delete the welcome.conf file in /etc/httpd/conf.d directory, then i see the page some thing like, ” Index of “. when i simply insert an index.html file in /var/www/html directory, it appears in the same way, what should i do???

  • buzz Jan 18, 2012 @ 22:21

    I am getting Centos powered Apache Test 2 page. I am trying to access one of the financial website. I am the end user for the website. Not sure how to resolve this, please help!

    • buzz Jan 18, 2012 @ 22:23

      let me add i get the Apache test page only on my home laptop not in my office.
      has it something to do with my firewall settings?

      • pk Sep 3, 2013 @ 5:25

        hi buz.

        any luck in resolving this issue. i’m getting the same problem on one of my computer accessing a site.

  • Barbara J. Muldoon Aug 16, 2012 @ 22:08

    Please remove Apache Test Page. Not sure where it came from.

  • Rod Hardesty Sep 13, 2012 @ 20:31

    remove this junk from my computer

  • Richard Nov 3, 2013 @ 13:11

    I’m sorry ,but may I ask you some questions? Where can I get the /var/www/index.html ?

  • khalid Jan 6, 2014 @ 21:45

    pls brother I don’t understand what to do with apache. whenever I try to go web apache makes problem im new internet user. I never saw it earlier pls help me remove it step by step

  • Help!!! Plzz Nov 20, 2014 @ 14:02

    i’ve met a problem: when i go to my website from my network (A Internet Provider A) see Apache Test Page, but when i change the other network (A Internet Provider B, C, D…), i can access my website. can you help me???

  • debu nandi Jun 23, 2016 @ 6:02

    mca portel problems..please help

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum