Change Document Root for an Addon or Sub-domain

By default, addon domains and subdomains use folders beneath the public_html folder – thus, the root directory for an addon domain named somedomain.com would by default be public_html/somedomain.com. To change the document root folder: Log in to cPanel. In the Domains section, click the Addon Domains or Subdomains icon, depending on which you’d like to modify.  Locate the addon […]

Backup File Types – cPanel

When you have a backup file, you will need to know what type of backup it is so you can know what is saved inside. Below are examples of the format for the various backup file names along with descriptions to help you determine the contents of a backup. Full […]

How an Addon Domain Works

When creating an addon domain, three things happen: a folder is created in the public_html directory a subdomain is created for the primary domain and attached to the new folder the new domain name is associated with the subdomain This all happens automatically when an addon domain is assigned to an account. […]

How the Addon Domain Appears

For Visitors When incoming traffic visits your addon domain, there should be no evidence that it is an addon domain. The addon domain will act as an independent domain, with no references to the primary domain. yourprimarydomain.com will be separate from youraddondomain.com in the address bar of your visitor’s browser. For FTP In […]

What is an Addon Domain?

An addon domain is a fully functional domain that can be created from within your control panel. Think of it as having multiple hosting packages all sharing the same control panel. You can create email addresses, forwarders, and more — the same way you do for your primary domain. It is an […]

Using an offline text editor

Open a text editor (like Notepad) and paste your desired code into a new file. Be sure that Word Wrap is off (under Format). Save this file as htaccess.txt Upload this new file to the proper directory. Then follow steps 7 through 12 under “Use cPanel’s Code Editor” above to replace […]

Use cPanel’s Code Editor

Use your cPanel’s File Manager to create a new file in the desired folder (typically you will want this in your domain’s document root) You can name it what you like – for our purposes, we’ll call it .htaccess.txt. Open this file by right-clicking it, then select “Code edit” from the pop-up box. Paste the […]

htaccess long lines

The .htaccess file is a special Apache file that adjusts the way your website behaves. You can edit the existing .htaccess file on your site, or you can create a new text file in any directory and name it .htaccess. .htaccess files contain lines of codes, which can run quite long. […]

Cron Job Limits

Shared and Reseller You may NOT run a cron job more often than every 15 minutes. VPS and Dedicated Server You may run a cron job as often as desired.

How to Add Cron Job in cPanel

Log in to cPanel. In the Advanced section, click Cron Jobs.<  Under the Cron Email section, make sure that your current email address is valid and accessible.  Select your preferred settings from the Common Settings dropdown menus.  Select the time when your cron will run in the minute, hour, day, month, and weekday dropdown boxes. Enter your cron […]