The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

accessing website routed to subdomain alias first

Discussion in 'EasyApache' started by lambov, Jan 22, 2017.

Tags:
  1. lambov

    lambov Member

    Joined:
    Oct 9, 2016
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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?
     
    #1 lambov, Jan 22, 2017
    Last edited by a moderator: Jan 22, 2017
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    36,999
    Likes Received:
    1,275
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page