CPanel or my Hoster Problem [moved]

pjiv

Member
Oct 12, 2006
5
0
151
This is the simplest way I can say this. Names are changed of course.

Main Domain: test.com
Addon Domain: test.net
Subdomain: info.test.net


CPanel shows addon domains as follows

test.net (test)

CPanel shows subdomains as follows:

info.test.net (public_html/info)
test.test.com (public_html/test)

Here is the problem: the subdomain on my addon domain works like this:

http://info.test.net/ WORKS!!

http://test.net/info/ 404 error.

The problem is that the subdomain is created in the MAIN test.com public_html directory and not in the test.net's /public_html/test/

Following this? I hope so because here is where it gets good.

FTP access. Virtual is done by giving a user name of the subdomain.

When I create info as the user name it creates

[email protected] and not [email protected]

If I create a subdomain on test.com with the name info, so it's info.test.com

Well they point to the SAME place public_html/info and have acesss to each others files, and in fact overwrite each others files.

This is my delima. Can anyone help me with this? Or shed some light on this.

Thanks!
 

elleryjh

Well-Known Member
Apr 12, 2003
479
0
166
That is how cPanel subdomains work.

If you host is nice and knows what they are doing, ask them and they might change it manually for you.
 

pjiv

Member
Oct 12, 2006
5
0
151
Then this is no good. What if you want the SAME subdomain on your main account, and your addon domain. Since they BOTH go to the maindomain/public_html directory they overwrite each other! and the virtual FTP account shadow each other. It's a security issue!
 

krava

Well-Known Member
Sep 23, 2003
149
0
166
cPanel Access Level
Root Administrator
Then you can try to add your subdomain as addon. In this case you will be able to choose where the subdomain must be pointed to. However, I am not sure if this trick will work fine.
 

rsaylor

Well-Known Member
Mar 27, 2003
160
1
168
This looks like a bug to me. Ask your host to manually modify apache. Getting cpanel to do things, hold your breath and see who lasts longer.