net4me

Active Member
Apr 21, 2002
33
0
306
I have added another domain 'domain.com' in cpanel-addon domain to the main domain.

When I want to access this added domain directory like www.domain.com/subdir I need to add '/' at the end ,otherwise it is opened the subdomain: subdomain.main-domain.com/subdir . Why? What to do?
 

shaun

Well-Known Member
PartnerNOC
Verifed Vendor
Nov 9, 2001
708
1
318
San Clemente, Ca
cPanel Access Level
DataCenter Provider
Twitter
i just had a client complain about this today as well. I'm assuming this is a problem because of the way the virtual addon domans are setup. servername is set to the subdomain and the virtual addon domains are serveraliases.
 

Website Rob

Well-Known Member
Mar 23, 2002
1,504
1
318
Alberta, Canada
cPanel Access Level
Root Administrator
When using the Add-on Domain feature, one is supposed to use the &domain.com& URL and will automatically show the Web pages within the Sub-directory.

Try using the URL for the Add-on domain and see what happens.