var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
Cpanel and SSH on terminating and creating accounts
Is there a way to terminate accounts and create accounts via ssh? Is there like a command line for that?
I am using cpanel.
The reason I ask is I have 30 domains I want to terminate and recreate at once. It seems that too many subdomain in those domains cause problems.
I'm pretty sure you would need to use /scripts/killacct and /scripts/wwwacct. You may find some more information on the cPanel forums from others who have done this already.
Can you please tell me:
1. About how many subdomains existed before you noticed problems, and
2. What types of problems exactly were you experiencing?
WHM > Multi-Account Functions > Terminate Multiple Accounts
That will delete all the ones you want, in one shot, but you will have to recreate them one at a time.
• PotentProducts.com - for all your Hosting needs
• Helping people Host, Create and Maintain their Web Site
• ServerAdmin Services also available
A lot. Somehow the subdomains become add on domains
I see. By the way, is there a way to surf a URL from SSH?
For example, say every time http://google.com is accessed something happen. Can I like
ssh prompt:> surf http://google.com
If that can be done, I can create the URL that correspond to account creation and surf the URL from ssh.
You need to install some command line browser like Lynx. It is a command line browser for lynx. It has one problem, and the problem is you wouldn't see any images.
Originally Posted by hardjoko
Go here and get the linux command line version of lynx and install it in your server:
Can anyone tell me the manual for killacct?
Also, I think I have an easier way. I'll just create a PhP file that will surf a page. Then I will do php thephpfile.php
What do you guys think?
The problem is what is PHP command for surfing a page?