SUB-DOMAIN Problem

Discussion in 'Site & Server Administration' started by cchetanonline, Jun 13, 2008.

  1. #1
    Recently i purchased one domain with good PR
    I changed its DNS and got Good results in 2 Days (DNS penetration)

    I just came to know that Two SUBDOMAINs or that DOMAIN have Good PR !!
    but the problem is that I am Unable to create Subdomain its Giving ERROR !!
    Error from cPanel
    Error from domain wrapper: Domain already exists, it was not added.: XXX.XXXXX.XXX
    Code (markup):
    i tried deleting the SubFolder many times , and created SubDomain again from cPanel but same problem , so i just left that , and created a SUBFolder in my public_HTML folder and done , my subdomain created ..

    BUT again strange problem !!
    almost many times i am unable to access my New SUBDomain , it redirected to OLD Host , Buy some times it works !!!!

    so is there any way to make DNS of SubDomain to propagate as fast as possible ? or there is something wrong in server settings ?

    i cant disclose the Domain name as i want keep it secret from G.

    i put this Problem in Server related Thread , as i think it is related to cPanel or something like that
    if not please move this thread to proper place :)
     
    cchetanonline, Jun 13, 2008 IP
  2. xous

    xous Active Member

    Messages:
    173
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    60
    #2
    Hi,

    Sounds like you are getting a very common error in cPanel due a domain added or removed improperly. (cPanel does a fair job at mucking up itself).

    You may need root access to the server as well as whm access to fix this problem:

    1. Delete the DNS zone for the domain in whm. If the domain is a sub-domain make sure the entry is removed from the zone file of the parent domain.

    Check this file and remove references to the sub-domain. (Just delete the line)
    /var/cpanel/users/{USERNAME}

    Make sure the sub-domain doesn't exist in these files:
    /etc/localdomains
    /etc/userdomains
    /etc/trueuserdomains
    /etc/trueuserowners

    remove these files if they exist: (they shouldn't for a sub-doman).
    /etc/valiases/{SUB-DOMAIN}
    /etc/vdomainaliases/{SUB-DOMAIN}
    /etc/vfilters/{SUB-DOMAIN}

    run /scripts/updateuserdomains after doing the above.
     
    xous, Jun 13, 2008 IP