Category: advanced

Create a PHP file to display the date & time

To display the current server configured date and time on your web hosting account, you can place the following code listed below into a php file. <?php echo date(“l jS \of F Y h:i:s A”); ?> The above code will display the current date as configured in the format of: Day of the week Day

Continue reading…

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…

Entry Processes – what is an entry process?

Entry processes is how many PHP scripts are running at a single time. An entry process takes a fraction of a second to complete. Many people confuse Entry Processes with the number of visitors they can have to their website. This is not the case. Our shared hosting plans have a 20 entry process limit

Continue reading…

How to Change the PHP Timezone on Shared and Reseller Web Hosting

Quick Steps: Step 1. Login to cPanel and locate “Select PHP Version”. Step 2. Click on “Switch to PHP options” on the far right side. Step 3. Specify the timezone under “date.timezone” option. 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

Continue reading…

Edit a DNS Zone using the DNS zone editor in WHM

This article assumes you’ve logged into your WHM already. From the left menu in your WHM control panel, you’ll need to locate the “Edit DNS Zone” option. You can simply begin by typing in the search box at the top & it’ll automatically populate based on what you type.     The next step will

Continue reading…

Install CSF (ConfigServer Security & Firewall) via SSH on CentOS 7

In this guide we’ll explain how to install CSF on your CentOS 7 VPS. All commands – without sudo. systemctl disable firewalld systemctl stop firewalld yum clean all yum -y update yum -y install wget perl ipset unzip net-tools perl-libwww-perl yum -y install perl-LWP-Protocol-https perl-GDGraph bind-utils cd /opt wget https://download.configserver.com/csf.tgz tar -xzf csf.tgz cd csf

Continue reading…