Creating an Addon Domain In cPanel

    1. Login to cPanel.
    2. Locate and click on the “Addon Domains” icon under the “Domains” category.
Open the Addon Domain page from within cPanel.
    1. Enter the required information:
      • New Domain Name - The domain name you are addin to your account.
      • Subdomain/FTP Username - Create a login name for the new domain.
      • Document Root - Folder within the master domain’s root directory to hold files for the new domain.
      • Password - Password for the user defined above.
      • Password (Again) - Confirm the password.
Enter the information for the new addon domain.
  1. Click the “Add Domain” button to create the addon domain.
Note: This will only work if the addon domain’s DNS servers are set to the same as the master domain’s.

 

Create a Parked Domain In cPanel

    1. Login to cPanel.
    2. Locate and click on the “Parked Domains” icon in the “Domains” category.
Open the Parked Domains page from within cPanel
    1. Enter the domain name you wish to park.
Enter the name of the domain you wish to park.
  1. Click on the “Add Domain” button.

Note: This will only work if the parked domain’s DNS servers are set to the same as the master domain’s.

 

Configuring a Cron Job In cPanel

  1. Login to cPanel.
  2. Locate and click on the “Cron Jobs” icon under the “Advanced” category.Locate the Cron Job icon
  3. Fill in the required information.
    • Common Settings – You can use this dropdown list to populate all but the last fields.
    • Minute – The minute setting for the cron job.
    • Hour - The hour setting for the cron job.
    • Day - The day setting for the cron job.
    • Month - The month setting for the cron job.
    • Weekday - The weekday setting for the cron job.
    • Command - The cron job command to execute. If you wanted to execute a script, the command would look similar to this:
      • php -q /home/ACCOUNTNAME/public_html/script_in_my_root_directory.php

      Configuring the cron job

WHMCS Wrong Date Fix

The other day I had a strange issue in my WHMCS system.  In the top right corner the date was showing one day ahead.  I Googled and Googled and Googled until I found the fix.  So to make it easier I’ll put the fix here.

Go into your WHMCS root folder and open configuration.php.  At the bottom add the following line


date_default_timezone_set('America/Denver');

Remember to change the country code to where you want your WHMCS time zone to be.  You can find a list of supported time zones here.

jQuery Install: Adding jQuery to Your Web Pages

In order to use jQuery you’ll need to download the jQuery library, and include it on the pages you wish to jQueryuse it.

Download jQuery

jQuery has two versions available for download:

  • Production Version – this is for a live website and is compressed and minified
  • Development Version – this is the development and testing version that is uncompressed and readable

Read more »

Change Crontab Email Settings In Linux / Unix

UNIXWhen dealing with the crontab a lot of users want to send email to user@example.com instead of default root user.  There are commands to add to the crontab in case a command needs to send out a communication. Read more »