Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Jan 2007
    Posts
    7

    Default Sub Domain Creation Problem!

    Hi,

    I had created three sub domains support, cms and demo under one domain. Although the sub-domain path displayed public_html/support, while browsing support.domainname.ext it showed file under public_html.

    In order to resolve this problem I had deleted all the sub domains. While recreating the subdomain it throws an error " Error from domain wrapper: Domain already exists, it was not added.: support.domainname.com"

    I am not are the sub domain enteries like for any domain hosted an entry is created under /etc/localdomains......

    Can anyone help has to how do I go about resolving this problem it would indeed be of great assistances.

    Thank you All :-)

  2. #2
    Member
    Join Date
    Jan 2007
    Posts
    7

    Default Answer

    Hi All,

    FINALLY i found a solution.

    I searched a little bit and found a method to solve this problem.

    1. Remove domain.com from /var/cpanel/users/cpanel-username

    3. Run /scripts/updateuserdomains as root user on the server because you changed the above file manually, this will create adjusted cache files

    2. Remove /var/named/domain.com.db if the file exists (it doesn’t always)

    3. Remove the virtualhost for domain.com on /usr/local/apache/conf/httpd.conf

    4. Remove domain.com from /etc/named.conf

    Now you can add the domain back on in cPanel with no problems.

Similar Threads & Tags
Similar threads

  1. Mass Sub Domain Creation
    By vnchief in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-05-2010, 07:12 PM
  2. addon domain creation problem
    By dusan in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-19-2009, 12:49 PM
  3. Run script on Domain/Sub-domain creation.
    By devonblzx in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-30-2008, 08:49 AM
  4. [Help] Domain Creation
    By Phill43210 in forum New User Questions
    Replies: 1
    Last Post: 05-22-2006, 11:45 AM
  5. Problem with parked & addon domain creation
    By volgafan in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-06-2003, 02:50 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube