#1 (permalink)  
Old 08-05-2008, 01:04 PM
Registered User
 
Join Date: May 2008
Posts: 7
jeremy@dailydna is on a distinguished road
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:
Quote:
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:
Quote:
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 08-05-2008, 01:16 PM
cPanelDavidG's Avatar
cPanel Technical Sales
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 7,995
cPanelDavidG is on a distinguished road
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.
__________________
Want our technical analysts to login to your server to assist you? You can contact our technical analysts at: http://tickets.cPanel.net/submit
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 08-05-2008, 01:54 PM
cpanelkenneth's Avatar
cPanel Quality Assurance
 
Join Date: Apr 2006
Posts: 3,222
cpanelkenneth is on a distinguished road
This issue is resolved in EDGE.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 08-05-2008, 03:29 PM
Registered User
 
Join Date: May 2008
Posts: 7
jeremy@dailydna is on a distinguished road
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:
Quote:
There was a problem removing the example.com.example.com
Show Details
Quote:
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 08-07-2008, 09:32 AM
cpanelkenneth's Avatar
cPanel Quality Assurance
 
Join Date: Apr 2006
Posts: 3,222
cpanelkenneth is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 02:42 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc