Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Problem with server folder displaying

Discussion in 'General Discussion' started by najunni, Dec 18, 2012.

  1. najunni

    najunni Registered

    Feb 16, 2009
    Likes Received:
    Trophy Points:

    I have a problem with server displaying. I am using Cpanle and I have set a domanin, lets call it

    On the server I have running 10 different websites. I have a problem with folder displaying, when I type my root server domain (, I get some results of my stored domain in the server, exmp:

    I have also try to block this folder on the server with password, but when I am doing that, the websites don't show, It will type the password to enter.

    Now my question is, how can I set, that the my root domain name will be invisible, and google do not index my website folder on the server?

    Thanks for your answers and best regards.
  2. mtindor

    mtindor Well-Known Member

    Sep 14, 2004
    Likes Received:
    Trophy Points:
    inside a catfish
    cPanel Access Level:
    Root Administrator
    1a. Put a blank index.html in your public_html


    1b. You could add an .htaccess file in public_html containing:

    Options -Indexes


    1c. You could just log into your /cpanel, go to Advanced, select Index Manager and disable indexing on one or more directories. [This will add the -Indexes option in an .htaccess file in that particular directory]

    2. Then add a robots.txt in your public_html with the following:

    User-agent: *
    Disallow: /

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice