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.

How to find a domain within a reseller?

Discussion in 'General Discussion' started by fischer, Mar 19, 2014.

  1. fischer

    fischer Registered

    Joined:
    Mar 19, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,
    I need to find a domain on my server that belongs to one of my resellers. How do I do this from the root user?

    Thanks
     
  2. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    817
    Likes Received:
    22
    Trophy Points:
    18
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    There are a few ways:

    1. cat /etc/userdomains

    2. grep DNS /var/cpanel/users/$username

    3. Go to WHM -> List Accounts (if the domain is the main domain of a cPanel account)
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,743
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  4. fischer

    fischer Registered

    Joined:
    Mar 19, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Ok thanks for the replies. It's safe to assume there is no way to do it directly from whm.
     
  5. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    You can search for a domain by its owner in Home » Account Information » List Accounts. Click the "Reseller/Owner" radio button, enter the reseller's username in the search box, and click "Find". That will give you a list of all accounts owned by that reseller.
     
  6. fischer

    fischer Registered

    Joined:
    Mar 19, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Actually I had done all that. I am assuming that this was an add on domain with one of the reseller accounts.
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,743
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You will not be able to determine which reseller owns the account associated with that addon domain name through Web Host Manager. You would have to obtain the account username first, or use one of the methods listed in the earlier posts to determine ownership from the command line.

    Thank you.
     
Loading...

Share This Page