This may not even be possible but I'm trying to figure out the URL of the main domain for an add-on domain.
Lets say for example the site is at mymaindomain.com.
If I go to
http://mymaindomain.com/cpanel (or :2082 or :2083)
I get nothing.
That is because mymaindomain.com
is an add on domain for the hosting account.
Lets say the primary domain on the account is myprimarydomain.com
and this was the domain originally set up with the hosting account. However, this domain is no longer valid and not being leased by the hosting client anymore.
If I log in to cpanel using the old main domain by going to
http://myprimarydomain.com/cpanel (or :2082 or :2083)
I am able to get into cpanel.
The problem is, there must be a new main domain name associated with this account, but I don't know what it is.
Is there any way to find this out given cpanel access to the account?
Is there any other way to find out what the primary domain is on the account?
Any help is much appreciated and bounty will be awarded promptly to the first correct answer.
Sorry, my rep is too low to comment yet, I was wondering if you are able to get the IP of your server once you are in cpanel. (Should be on the right side). If so ... can you go here and input the IP and tell me what the 'node hostname' says? Also ISP might help.
来源:https://stackoverflow.com/questions/29191329/find-original-main-domain-name-based-on-add-on-domain-name