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.

CPanel Error Adding Subdomains

Discussion in 'General Discussion' started by Zhen-Xjell, Mar 1, 2002.

  1. Zhen-Xjell

    Zhen-Xjell Member

    Joined:
    Mar 1, 2002
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Hi, At the bottom I have listed all the threads I have read about this subject prior to posting.

    I still can't seem to get it to work.

    I added:

    nameserver 127.0.0.1

    to the resolv.conf file, and I also added:

    sub.domain.com. 14400 IN A ipaddress

    to the zone file. No go, still getting this error:

    Error adding subdomains to domain.com:

    SubDomain Adder
    Can't lookup domain.com sub.domain.com could not be modified because it does not resolve to a valid ip address. Please ask the system admin to check their resolv.conf and their dns trust relationship Ignore any messages of success this can only result in failure!

    Any extra ideas?

    Thanks


    http://support.cpanel.net/obb//read.php?TID=1786
    http://support.cpanel.net/obb//read.php?TID=1457
    http://support.cpanel.net/obb//read.php?TID=1219
    http://support.cpanel.net/obb//read.php?TID=1010
    http://support.cpanel.net/obb//read.php?TID=919
    http://support.cpanel.net/obb//read.php?TID=612
    http://support.cpanel.net/obb//read.php?TID=537
    http://support.cpanel.net/obb//read.php?TID=185
    http://support.cpanel.net/obb//read.php?TID=68
    http://support.cpanel.net/obb//read.php?TID=92
    http://support.cpanel.net/obb//read.php?TID=4
     
  2. Zhen-Xjell

    Zhen-Xjell Member

    Joined:
    Mar 1, 2002
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Ok, this is what I did.. it seems as if CPanel is still buggy in adding domains (from what I've read in previous threads). So I added the VirtualHost information in httpd.conf, created the new directories and added the zero byte files to valiases and and vfilters.

    I'm able to see the subdomain in CPanel now, and also able to browse to the subdomain in my browser.

    Have I missed anything? Other than that.. anyone know why CPanel would bail when trying to create the subdomain even though all the DNS information is correct?
     
  3. bdraco

    bdraco Guest

    How do you have nameservers setup ? Is the server running cpanel the master nameserver?
     
  4. Zhen-Xjell

    Zhen-Xjell Member

    Joined:
    Mar 1, 2002
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    No, it isn't the master nameserver, but it does have its own nameserver running. The other side of this story is, my clients are able to add subdomains to their other domains on the same server except for this one single domain. That is what is surprising.
     
  5. bdraco

    bdraco Guest

    [quote:428003a147][i:428003a147]Originally posted by Zhen-Xjell[/i:428003a147]

    No, it isn't the master nameserver, but it does have its own nameserver running. The other side of this story is, my clients are able to add subdomains to their other domains on the same server except for this one single domain. That is what is surprising.[/quote:428003a147]

    The first nameserver in resolv.conf should always be the master nameserver. If the local server is the master nameserver is should be 127.0.0.1
     
  6. Zhen-Xjell

    Zhen-Xjell Member

    Joined:
    Mar 1, 2002
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Got a question... Haven't seen this before, but why wouldn't all the entries in resolv.conf be checked? This one redhat box seems to only use the first entry and not try the others.
     
Loading...

Share This Page