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.

problems with addon domains

Discussion in 'General Discussion' started by gimmereeson, Jan 19, 2007.

  1. gimmereeson

    gimmereeson Registered

    Joined:
    Jan 18, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    i've just started learning things , i configured a domain abc.com on the server in our netowrk.
    i also configured subdomain for it x1.abc.com from the cpanel , but when i tried to addon a domain to it named x1.com it is throwing up errors saying that abc.com could not be resolved to valid ip

    i checked the resolver and made sure it is pointing to our nameservers and dig is giving the perfect answers from my system

    i also checked the subdirectory for x1.abc.com , it is /home/abc/public_html/x1/ but the cpanel is unable to recognize these things
    please tell me how to get around the issue.
     
  2. BackRack

    BackRack Member

    Joined:
    May 6, 2004
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Main domain: abc.com
    Subdomain: x1.abc.com
    Addon domain: x1.com

    The DNS for the Addon domain, x1.com, must be pointed to your server's Domain Name Servers (DNS).
    So, if you are running your own Name Servers, i.e. ns1.abc.com and ns2.abc.com you must login to your registry service provider and point the DNS to ns1.abc.com and ns2.abc.com

    Like wise, if you are using your data centers Name Servers.

    Note: Some registrar service providers and data centers require a IP for each of the DNS. Be certain to provide the IPs were necessary.

    Tip: Check your server information at dnsreport.com and see if all is in good order.

    Now, you cannot create a Subdomain and an Addon domain if the names are exactly the same. The names will not resolve. cPanel treats Addon domains as Subdomains in the scheme of things. When you try to do that you will receive error messages in the cPanel Addon and/or Subdomain Manager.

    To fix...

    1. In cPanel for abc.com go to Addon domain.
    a. Remove the Addon domain. Note this is temporary for now.

    2. In cPanel go to File Manager.
    a. Under public_html find and delete the folder x1.com

    3. In cPanel go to Subdomain.
    a. If applicable delete the Subdomain x1.abc.com

    4. In cPanel go to File Manager.
    a. Under public_html delete the folder x1.abc.com if applicable

    Start Over...

    1. In cPanel go to Addon domain
    a. Create the Addon Domain x1.com as usual. Make sure there are no error messages.

    2. Go to File Manager
    a. Under public_html open the folder x1 and make sure there is a cgi folder.

    3. Go to Subdomain Manager
    a. Create a subdomain under x1.com but do NOT name it x1.
    Note: Remember, you cannot create a Addon domain and Subdomain with the same names.

    Hope this helps,

    BeckRack
     
Loading...

Share This Page