accessing website routed to subdomain alias first

lambov

Member
Oct 9, 2016
20
0
1
Earth
cPanel Access Level
Root Administrator
why all addon domains routed to subdomain alias of main domain first, so if main domain expired or inactive the addon domain doesn't work because it reouted to subdomain alias first

example account under maindomain
maindomain.com is main domain and has expired and addon domain is addondomain.com

the account is suspended now and when accessing addondomain.com will be redirected to http://addondomain.maindomain.com/cgi-sys/suspendedpage.cgi so i can not acess the site because it routed to maindomain.com first that has been expired

this behaviour is not only on suspended but on all that has main domain expired or inactive main domain
if on active account i can not acess addondomain.com/folder , it will be redirected to http://addondomain.maindomain.com/folder/

but it work when adding / at the end folder "addondomain.com/folder/"

note:
the problem only if main domain is expired/inactive
i use mpm prefork EA4

where is the wrong of my configuration?
 
Last edited by a moderator: