Forum Moderators: phranque

Message Too Old, No Replies

Security and Shared Hosting Question

         

Dantes

2:36 pm on Oct 1, 2006 (gmt 0)

10+ Year Member



Hi,

just one thing I do not understand:

At one particular host you have to register with a primary domain, so that every addon-domain you add later in the cPanel will appear like that: www.primary-domain.com/addon-domain. Of course you just type in your browser www.addon-domain.com.

What I'd like to know now is: is it possible for somebody to find out what my addon-domains are? Because I dont want any addon-domain to be related to my primary-domain.

Sorry for the newbie-question and thank you for helping!

Dantes100

[edited by: engine at 8:59 am (utc) on Oct. 4, 2006]
[edit reason] See TOS [webmasterworld.com] [/edit]

jtara

3:31 pm on Oct 1, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You should be able to change this. A number of webserver directives deal with mapping of URLs to the filesystem, as well as permissions. You should be able to use these to alter this behaviour.

The details depend on exactly how your provider has laid-out their file system, what webserver they are using, what control panel they are using, and how much control the control panel gives you over server configuration files. (You might change them and it might change them back!)

Sorry to be so vague, but without knowing the details, it's hard to say exactly what you need to do. It might be removing directives from a configuration file, or adding some.

Are the files for the extra domains stored in subdirectories under the main doman? If so, you will probably have to add a directive to restrict access to these URLs in your main server configuration file. (It will still work for the extra domain itself, which will have it's own configuration file.) Are the files for the extra domains stored elsewhere? (i.e. NOT as a subdirectory under the main domain.) If so, you need to find the directive that maps the filesystem location to the URL and remove it.

Dantes

5:14 pm on Oct 1, 2006 (gmt 0)

10+ Year Member



Well, when I login per ftp I see that all the addon-domains are subfolders under the root of the public_html directory.
Its cPanel X v2.6.0, cPanel Build 10.9.0-CURRENT 33 (http://www.cpanel.net/docs/cpanel/)

Unfortunately I didn't find anything where I can change the main server configuration file.