Why do I see Apache Test page?

last updated in Categories Apache, Linux, RedHat/Fedora Linux, UNIX

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.


Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

11 comment

  1. Hi,

    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.


  2. 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???

  3. 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!

    1. 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?

      1. hi buz.

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

  4. 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

  5. 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???

    Have a question? Post it on our forum!