Problem with server folder displaying

najunni

Registered
Feb 16, 2009
1
0
51
Hi,

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

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

domainone.com/domaintwo.eu
domainone.com/domainfive.com/plugin/rokbox
domainone.com/domainsix.com/images
domainone.com/ecc

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.
 

mtindor

Well-Known Member
Sep 14, 2004
1,363
65
178
inside a catfish
cPanel Access Level
Root Administrator
1a. Put a blank index.html in your public_html

and/or

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

Options -Indexes

or

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: /

M