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.

Cluster and Domains on both servers

Discussion in 'Bind / DNS / Nameserver Issues' started by dinfiesta, Feb 13, 2007.

  1. dinfiesta

    dinfiesta Well-Known Member

    Joined:
    May 2, 2005
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    6
    Hello!


    I have server A & B in DNS cluster.

    I want to host email on server A and the Web on server B.

    But I can´t create the same domain in servers A and B cause it says "remove dns zone from cluster"

    Does anyone knows how to bypass that?

    Thanks! :)
     
  2. ramprage

    ramprage Well-Known Member

    Joined:
    Jul 21, 2002
    Messages:
    667
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Canada
    Good question, well one way is to create it with a slightly different name for the domain so it creates.

    EG: the actual domain is cpanel.net create it as cpanel1.net

    Then you'll need to edit all those files that reference cpanel1.net
    EG:
    /usr/local/apache/httpd.conf
    /var/cpanel/users/usernameofaccount
    /etc/userdomains
    /etc/localdomains

    Then delete the DNS zone for the cpanel1.net


    If you're doing this often, creating an automated script can be done.
     
  3. dinfiesta

    dinfiesta Well-Known Member

    Joined:
    May 2, 2005
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    6
    ramprage! Thanks...I will try that...

    Does anyone has this problem?
    Is there a way to suggest it a feature?

    I think a lot of people that use CPanel have Cluster DNSs.

    Thanks.
     
Loading...

Share This Page