homepage Welcome to WebmasterWorld Guest from 54.166.108.167
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Delete subdomains script
Need to delete lots
Snookered




msg:1503484
 2:32 am on Jun 27, 2005 (gmt 0)

Hi,

I have a large number of subdomains I created manually through CPanel. I'd like to delete most of them, but doing so using CPanel will very slow and tedious.

I've come up empty for examples on scripts to do this for me.

I'm in a shared hosting environment, but have shell access. I don't think I have access to the .conf file.

Does anyone have a script/example that correctlty deletes subdomains?

Thanks

 

jdMorgan




msg:1503485
 9:39 pm on Jul 5, 2005 (gmt 0)

One of the purposes of cPanel is to give you indirect, controlled access to httpd.conf. For this reason, I doubt you'll find a script to do this. I would recommend asking your host about this problem. You might end up backing up all the subdomain folders you want to keep, and then deleting everything and restoring the backup -- that might be faster. But ask your host first.

Jim

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved