Welcome to WebmasterWorld Guest from 54.146.201.80

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Delete subdomains script

Need to delete lots

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

New User

10+ Year Member

joined:Feb 11, 2004
posts:38
votes: 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

9:39 pm on July 5, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 31, 2002
posts:25430
votes: 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

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members