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.

Still showing parked domain after changing to different account

Discussion in 'General Discussion' started by GoWilkes, Sep 3, 2012.

  1. GoWilkes

    GoWilkes Well-Known Member

    Joined:
    Sep 26, 2006
    Messages:
    367
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    I'm on a semi-managed server with 2 accounts, and both are mine. I had 40 domains parked on top of one of the accounts, and I recently changed them to point to the other account by editing /usr/local/apache/httpd.conf.

    Everything is working fine, but for one very minor detail: in cPanel, the old account still shows 40 domains parked, and the new account doesn't show any. In WHM, though, they're listed correctly, so it's just cPanel.

    I'm sure that there's probably just another file somewhere that I should edit, but I'm not sure what it is. I've tried editing /etc/named, /etc/userdomains, /etc/valiases/, and /etc/vdomainaliases/, but none of these affected it.

    Where else should I look?
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    You would not manually edit httpd.conf to change parked domains. There are numerous files that handle account domains (parked domains, subdomains, and addon domains) such as /var/cpanel/userdata/username files (where username is the cPanel username), /var/cpanel/users/username, /etc/localdomains, /etc/userdomains and so on.

    To properly configure this, revert the changes previously made. At that point, go into cPanel and remove the domains from the one cPanel account. After doing so, re-add them to the other cPanel account. Going forward, you could either craft something via the API or use the interface. Direct file modification for a complex process such as where a domain is handled would not be advised.
     
Loading...

Share This Page