Cpanel Commands ssh

Install cpanel

cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest

backup one user account
/scripts/pkgacct USERNAME

Force Cpanel backup run for all users
/scripts/cpbackup –force

 

Setting up Wildcard DNS for Subdomains on Cpanel

Ever wanted to setup subdomains on your Cpanel server, such that a keyword is the wildcard part of your domain? Something along the lines of:

  • keyword.yourdomain.com
  • keyword2.yourdomain.com
  • keyword3.yourdomain.com

It’s not as difficult as you might think, however, you will need access via SSH to edit a few server files, or, contact your web host to make a few quick edits on your account.

Continue reading “Setting up Wildcard DNS for Subdomains on Cpanel”