main domain may be abc.com or xyz.abc.com, ID_SUBDOMAIN_POSITION is for main domain length