Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    May 2008
    Posts
    7

    Default Deleting Subdomain does not actually delete it

    So here is the deal, within CPanel users are able to add their own Subdomains.
    The form to create a subdomain with CPanel looks something like this:

    Subdomain:
    Enter SubDomain Text Field
    . example.com

    So CPanel automatically takes whatever is in the text field and appends ".example.com" to the end of it.

    The problem is the user entered this:

    Subdomain:
    exchange.example.com
    . example.com

    The user ended up with a subdomain named: "exchange.example.com.example.com". This happens because of CPanels Automatic appending of the ".example.com" to the end of whatever is the text field.

    Now - when trying to delete this improperly named subdomain with both the root account and user account - CPanel will show that the subdomain has been successfully removed but nothing will change, the improper name still appears in the list.

    How can I remove this subdomain?

    I appreciate any help.

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,720
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    I'm sure there are more elegant solutions, but one solution I am aware of to delete the subdomain exchange.example.com.example.com is to create com.example.com and example.com.example.com then delete exchange.example.com then example.com.example.com then com.example.com.

    Are the user using the x3 theme? If not, I recommend using it as its interface for creating subdomains is a bit more intuitive to curb issues such as this.

  3. #3
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,768
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    This issue is resolved in EDGE.

  4. #4
    Member
    Join Date
    May 2008
    Posts
    7

    Default

    Thank you for your prompt responses.

    The process mentioned worked great to delete the "exchange.example.com.example.com" subdomain. However, now the "example.com.example.com" subdomain will not delete.
    I believe this is because the original domain "example.com" is setup as an addon-domain.

    This is what CPanel tells me:
    There was a problem removing the example.com.example.com
    Show Details
    Sorry, the subdomain example cannot be removed because it is linked to the addon domain example.com. You must first remove the addon domain.
    I noticed that the document root for both domains is the same. If I could change the document root than I would be able to delete the subdomain.

    Is there any easy way to change the document root for a subdomain and delete it without messing with any addon domains?

    Thank you for your help.

  5. #5
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,768
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by jeremy@dailydna View Post
    Thank you for your prompt responses.

    The process mentioned worked great to delete the "exchange.example.com.example.com" subdomain. However, now the "example.com.example.com" subdomain will not delete.
    I believe this is because the original domain "example.com" is setup as an addon-domain.

    This is what CPanel tells me:


    I noticed that the document root for both domains is the same. If I could change the document root than I would be able to delete the subdomain.

    Is there any easy way to change the document root for a subdomain and delete it without messing with any addon domains?

    Thank you for your help.
    Each element of "example.com.example.com" is treated as a separate part of the entire domain name. To delete one part, the other parts must exist.

    Thus, com.example.com must exist in order to delete example.com.example.com. Just as example.com.example.com had to exist to delete exchange.example.com.example.com

Similar Threads & Tags
Similar threads

  1. Remaining files after deleting an account, may I manually delete them?
    By Kent Brockman in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 06-01-2009, 11:33 AM
  2. Deleting a domain doesn't fully delete it?
    By ramirez in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 04-29-2008, 12:07 AM
  3. Deleting a acount in cpanel does not delete the remote DB
    By DWHS.net in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 12-24-2007, 12:52 PM
  4. Deleting Subdomain
    By seahorse in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-12-2005, 06:28 AM
  5. deleting subdomain doesn't work
    By Radio_Head in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 05-15-2003, 07:23 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube