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.

Addon domain with subdomain --->Urgent

Discussion in 'General Discussion' started by linuxgirl, Apr 25, 2005.

  1. linuxgirl

    linuxgirl Active Member

    Joined:
    Nov 20, 2004
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
    Hello,

    I was trying for addon domain and i have got the following error.

    ********************************************************************************
    The subdomain, sub.domain.info has been added.

    sub.info is already configured.


    Removed Entry from httpd.conf The subdomain,
    sub.domain.info has been removed.

    sub.info could not be setup. The subdomain
    sub.domain.info was not setup either.
    ********************************************************************************

    Please help me soon



    Regards,
    Linuxgirl
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    I would sugest you do what the error told you

    "Removed Entry from httpd.conf"

    you have added the domain somewhere before and did not completle remove it
     
  3. its_joe

    its_joe Well-Known Member

    Joined:
    Feb 15, 2007
    Messages:
    134
    Likes Received:
    0
    Trophy Points:
    0
    Hello,

    You need to check the entries of the domain from all the configuration files. Use the following command to check it


    grep domain.com /var/named/ -r
    grep domain.com /etc/named.conf -r
    grep domain.com /var/cpanel/users/ -r
    grep domain.com /etc/httpd/conf/httpd.conf -r
    grep domain.com /etc/userdomains -r
    grep domain.com /etc/trueuserdomains -r

    And delete the entries from the above files. After that if you have set seperate server for the NS, then delete the entries from there

    After removing all the entries, you will not get error while adding the addon domain.


    its_joe.
     
Loading...

Share This Page