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!

Export Domain Forwarder

Discussion in 'Bind/DNS/Nameserver' 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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,896
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,896
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    You're very welcome! I'm glad to see that information helped.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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