Category: advanced

How to force www or non-www versions of your website using .htaccess rules

To force your website to use either “www” or “non-www” versions, simply use the code below in your .htaccess file in the public_html root OR the location of your websites main files. You may need to create the .htaccess file (AKA dot htaccess) To force www: RewriteEngine On RewriteCond %{HTTP_HOST} ^yourdomain.com [NC] RewriteRule ^(.*)$ http://www.yourdomain.com/$1

Continue reading…

Change the PHP Timezone – shared & reseller web hosting

To change the timezone on your hosting account, you’ll first need to log into cPanel and locate the “Select PHP Version” option. Once you’ve clicked the “Select PHP Version” icon, you’ll see the PHP versions dashboard. NOTE: if yours shows “native” you will either need to select another PHP version OR contact our support. If

Continue reading…

403 Forbidden Error – What to do if you see this error

If you see a 403 Forbidden error on your website, you may need to check a few things. We’ll outline a few scenarios that would cause this and how to resolve them. .htaccess rules:   The most typical reason for a 403 Forbidden error is due to .htacess rules on your website. You’ll want to

Continue reading…

emails are sent from user@servername.com and not an actual email address

This is because our servers require you (or your script) to use a properly formatted, valid From: field in the email’s header. If the From: field is not formatted correctly, empty or the email address does not exist in the cPanel, the From: address will be changed to username@serverhostname.com You must change the script you

Continue reading…

Install Config Server Firewall via SSH

To install CSF Config Server Firewall, commonly known as “CSF”, follow the steps below: Log into your server with root level access (or escalate to root) and execute the commands below: cd /usr/src rm -fv csf.tgz wget https://download.configserver.com/csf.tgz tar -xzf csf.tgz cd csf sh install.sh Once the installation completes, you can now manage CSF via

Continue reading…