≡ Menu

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.

Share this on:

Your support makes a big difference:
I have a small favor to ask. More people are reading the nixCraft. Many of you block advertising which is your right, and advertising revenues are not sufficient to cover my operating costs. So you can see why I need to ask for your help. The nixCraft, takes a lot of my time and hard work to produce. If you use nixCraft, who likes it, helps me with donations:
Become a Supporter →    Make a contribution via Paypal/Bitcoin →   

Don't Miss Any Linux and Unix Tips

Get nixCraft in your inbox. It's free:

{ 11 comments… add one }
  • David Chan June 5, 2010, 7:51 am


    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 March 7, 2011, 9:21 am

    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 January 18, 2012, 10:21 pm

    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 January 18, 2012, 10:23 pm

      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 September 3, 2013, 5:25 am

        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 August 16, 2012, 10:08 pm

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

  • Rod Hardesty September 13, 2012, 8:31 pm

    remove this junk from my computer

  • Richard November 3, 2013, 1:11 pm

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

  • khalid January 6, 2014, 9:45 pm

    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 November 20, 2014, 2:02 pm

    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 June 23, 2016, 6:02 am

    mca portel problems..please help

Leave a Comment