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.

Export Domain Forwarder

Discussion in 'Bind / DNS / Nameserver Issues' started by Planky, Jun 15, 2015.

  1. Planky

    Planky Member

    Joined:
    Dec 22, 2014
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I have a large number of domains redirected via WHMs Domain Forwarder. I need to copy this to a new server and want to avoid having to copy/paste a hundred odd records. I've had a look through /var/named but I can't see anything that relates there.

    Is this handled by bind or something else? How can I export this to the new server?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,808
    Likes Received:
    667
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    The domain forwarding configuration values are stored in the following files:

    Code:
    /var/cpanel/domainfwdip
    /var/cpanel/domainmap
    Note that you will need to update the IP address in the first file if you are using a different IP address for domain forwarding.

    Thank you.
     
  3. Planky

    Planky Member

    Joined:
    Dec 22, 2014
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thank you Michael, made that very easy
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,808
    Likes Received:
    667
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page