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!

? what populates /etc/localdomains ?

Discussion in 'General Discussion' started by feanor, Jan 31, 2002.

  1. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    316
    I thought I knew this....
    Anyone off the top of their head recall what builds /etc/localdomains repeatedly on a cpanel box.

    What engine / process / cron / script ?
    All of the above?
    Thanks for the help, anyone!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. jumpdomain

    jumpdomain Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    109
    Likes Received:
    0
    Trophy Points:
    316
    I think CPanel does it only when you create a new account or add a parked domain... I don\'t see any other process or script to do it like there is for /etc/userdomains
     
  3. snowgod

    snowgod Well-Known Member

    Joined:
    Sep 23, 2001
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    306
    /scripts/mailperm will rebuild it in a pinch, but Nick swears cpanel doesn't run that under normal circumstances.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Site5-Matt

    Site5-Matt Well-Known Member
    PartnerNOC

    Joined:
    Aug 10, 2001
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    306
    Anything that adds or removes domains from the server will modify localdomains. So, wwwacct, killacct, the subdomain routines in Cpanel, etc.

    Matt
     
  5. joana

    joana Well-Known Member

    Joined:
    Sep 29, 2001
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    316
    [quote:54fd194ee8][i:54fd194ee8]Originally posted by feanor[/i:54fd194ee8]


    I thought I knew this....
    Anyone off the top of their head recall what builds /etc/localdomains repeatedly on a cpanel box.

    What engine / process / cron / script ?
    All of the above?
    Thanks for the help, anyone![/quote:54fd194ee8]

    scripts/mailperm will rebuild this file
    Even though some domains might be out due to external mail service (External MX), running mailperm will re-add all domains..
     
Loading...
Similar Threads - populates localdomains
  1. vikins
    Replies:
    9
    Views:
    1,300

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