How to setup a cron job in cPanel

This demo assumes you’ve already logged in to cPanel and are starting on the home screen.

Now let’s learn how to setup a cron job.

Click the “Cron Jobs” icon.

Enter the email address where you want the cron job results sent after each time it runs.

Now you have to define exactly when and how often you want the cron job to run.

This is made easier by selecting one of the pre-defined common settings.

Notice that by choosing a common setting, all fields are filled in automatically. This also helps you understand what each field means.

Next, enter the command of the script you want to run, including the path (from root).

Then click “Add New Cron Job”.

That’s it! The cron job has been set, and will be listed at the bottom of the screen.

This is the end of the tutorial. You now know how to setup cron jobs in cPanel.

How to create a domain alias in cPanel

cPanel Paper Lantern end-user series

23. How to create a domain alias in cPanel

This demo assumes you’ve already logged in to dedicated servers cPanel, and are starting on the home screen.

Now let’s learn how to create a domain alias.

Click the “Aliases” icon.

A domain alias is useful when you have additional domain names that you want people to be able to use to get to your website.

Enter the new domain, then click “Add Domain”.

That’s it! Now when someone browses to mybiz123.info, they’ll automatically be redirected to mybiz1234.com.

Be sure to set your domain alias’s DNS settings to the same as your main domain, so the redirection will work properly.

This is the end of the tutorial. You now know how to create a domain alias from cPanel.

How to setup domain redirects in cPanel

This demo assumes you’ve already logged in to cPanel, and are cPanel hosting starting on the home screen.

Now let’s learn how to setup domain redirects.

Click the “Redirects” icon.

Choose whether you want this redirect to be temporary or permanent.

Then enter the URL you want to redirect.

Then enter the destination URL… where you want visitors to be redirected to.

When ready, click “Add”.

That’s it! The redirect has been created.

This is the end of the tutorial. You now know how to setup domain redirects in cPanel.

How to create a MySQL database in cPanel

25. How to create a MySQL database in cPanel

This demo assumes you’ve logged in to VMWare, and are starting on the home screen.

Now let’s learn how to create a MySQL database.

Click the “MySQL Database Wizard” icon.

Enter a name for the new database, then click “Next Step”.

Now we have to create a user for this database. Enter a username and create a password, then click “Create User”.

Click the “All Privileges” check box, then click “Next Step”.

That’s it! My MySQL database has been created, and the new user added to the database. The database name, username and password will all be needed for scripts that need to connect to the database.

This is the end of the tutorial. You now know how to create and setup MySQL databases.

How to password protect a directory in cPanel

cPanel Paper Lantern end-user series

18. How to password protect a directory in cPanel

This demo assumes you’ve already logged in to cPanel hosting, and are starting on the home screen.

Now let’s learn how to password protect a directory.

Click the “Directory Privacy” icon.

Select the directory to start with, then click “Go”.

Select the directory you want to password protect by clicking its name.

Check the “Password Protect” box, then give a name for the directory, and click “Save”.

The directory is now protected, and requires a password to enter it via a browser.

We must therefore create at least one user, and assign them a password so they can access the directory.

Assign a username and password in the “Create User” section.

The protected directory now has one user who has access to it. Repeat this process for each additional user you want to grant access for.

You can see the new user we just added in the “Authorized Users” section.

This is the end of the tutorial. You now know how to password protect directories, and assign users to them.