Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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

    Sep 26, 2006
    Likes Received:
    Trophy Points:
    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

    Oct 2, 2010
    Likes Received:
    Trophy Points:
    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.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice