cPanel - Control Panel

How to Edit .htaccess File in the cPanel File Manager

Log in to your cPanel account. In the Files section, click on File Manager. Navigate to the directory where your dot htaccess file is located. To edit the .htaccess file of your root directory, navigate to the public_html directory. If the dot htaccess file does not show, click on Settings in the File Manager. You can find the Settings button on the right side of the top menu. Mark the Show Hidden Files (Dotfiles) option in the new window box and click on Save. Now, the dot htaccess file should be present. If it does not exist, create a new one. Right-click on the dot htaccess file and then Edit in the Context Menu. In a new window box, click on Edit. Make changes to your dot htaccess file and click on Save Changes.

Related: htaccess


August 28, 2023

How to Add an MX Record in cPanel

A mail exchanger record (MX record) is a record in the Domain Name System that specifies a mail server responsible for accepting email messages. You can add an MX Record using the cPanel’s Zone Editor option. Log in to your cPanel account. In the Domains section, click on Zone Editor. Under Domains, you can see many options below Actions. Click on the +MX Record, and a popup box will open. Please enter the required details in it. Priority: The MX record is used for mail routing. It should have the lowest preference number, typically 0. You can use 0 for your mail routing record and 10 for the record validating that you own your domain. Destination: Enter the domain name of your Mail Exchange. If you use an external mail server, enter the domain name of the external mail server. Alternatively, enter your local domain if you use a local

Related: cpanel, domain, mail, mx


August 28, 2023

How to Create a Cronjob in cPanel

Log in to your cPanel account. In the Advanced section, click on Cron Jobs. Under Add New Cron Job, click on the Common Settings drop-down menu and select an appropriate option such as Once Per Day or another suitable option. Enter your cronjob PHP file location or the command you want to run in the Command field. Click on Add New Cron Job.

Related: cpanel, cron, cronjob


August 28, 2023

How to Create a New Folder or Files in the cPanel File Manager

cPanel File Manager is handy for managing your website files. Log in to your cPanel account. In the Files section, click on File Manager. Navigate to the directory where you want to create your folder or file. Click on +Folder. In the New Folder Name field, enter your folder name, such as my-folder. Then click on Create New Folder. How to create a new file such as myfile.txt? Navigate to the directory where you want to create your folder or file. Click on the +File icon. In the New Filename, enter your filename such as MyFile.txt. Then click on Create New File.

Related: cpanel


August 28, 2023

How to Update a Cronjob Email Address in cPanel

You can enable cronjob notifications or update a cronjob’s email address in cPanel. Log in to your cPanel account. In the Advanced section, click on Cron Jobs. Under Cron Email, you should enter your full email address in the text field. Click on Update Email.

Related: cpanel, cronjob, email


August 28, 2023