Archive for cPanel/WHM

How to ban or block an IP address from visiting my website?

You can make use of .htaccess files in order to block an IP address from accessing your website. A .htaccess is a kind of configuration file that can be used from things like setting password-protected directories, preventing the display of file extensions to, of course, restricting access based on IP.

To ban an IP address from accessing your website, create a .htaccess file within your root directory (usually public_html or www) and add the following configuration in the file:

order allow,deny
deny from 127.0.0.1
allow from all

It’s pretty simple to understand what’s going on here. “order allow,deny” is specifically in this order so that the allow rules are checked first, and if someone matches a deny rule, their server request is refused (i.e. they’re blacklisted). If you have the order as “deny,allow”, the deny rules are checked first and the allow rules after. If you had it ordered “deny,allow”, the allow rule is evaluated last, so you can imagine what would happen – hence, “order allow,deny” evaluates deny rules last.

In the example above, we’re blacklisting 127.0.0.1. In real use, you’ll need to change this to the IP address in which you want to blacklist. You can, of course, blacklist multiple IP addresses by listing multiple deny rules on a separate line. For example:

order allow,deny
deny from 127.0.0.1
deny from 127.0.0.1
deny from 127.0.0.1
deny from 127.0.0.1
allow from all

If you want to block an entire IP range, you simply exclude a specific octet in the .htaccess rule:

order allow,deny
deny from 127.0.0
allow from all

This will blacklist IP addresses in the range 127.0.0.0 through to 127.0.0.255. An octet is each part of the IP address (i.e. 127, 0, 0, 1).

Note: If you can’t see your .htaccess file listed in your FTP client it may be hidden depending on the file manager you are using, because the file starts with a period character. If this is the case, you’ll need to find the option in the menu of the FTP client you are using to show hidden files.

IP Deny Manager in cPanel control panel

In most control panels for Linux- and Windows-based hosting, you can blacklist IPs using a graphical user interface instead of having to do so via a .htaccess text file. In cPanel, go to the IP Deny Manager (in the Security category) to blacklist IPs from accessing your website. Just like doing so directly within a .htaccess file, you can specify a complete IP address or a specific range.

Note: Be careful when you are blacklisting an IP range. Don’t blacklist an IP range too broadly if you are concerned of blacklisting genuine visitors.

Do you offer 24×7 technical support? What are the business hours of your support department?

UK Web Hosting Logo

Yes, we offer 24×7 technical support on every web hosting package, including our eUK Shared Web Hosting packages. Our offices operates 24 hours a day, 7 days a day week (including bank and national holidays, including Christmas day).

What about technical support for Dedicated Hosting customers?
Our senior administrators, alongside our Level I and Level II technician support work on alternate shifts to ensure technical support is available 24 hours a day, 7 days a week, 365 days a year. We have senior administrators working 24×7.

Is technical support inclusive? Do I have to pay for technical support?
Not at all. All of our services include free technical support. All of our VPS, Cloud Hosting and Dedicated Servers are fully managed hosting solutions. Whether you would like us to configure your server for PCI compliance or configure security software, we’ll be happy to help you. For more information, you can read our Service Level Agreement.

Do you offer Shared Web Hosting on a monthly payment cycle / term?

Yes we do – Pay Monthly Web Hosting, however it is much more cost-effective to pay on a yearly payment term, but we do offer monthly payment terms for our customers who prefer to pay a month-to-month basis.

Does your Reseller Hosting packages permit overselling?

To ensure all of our Reseller Hosting customers have a fast and reliable hosting service, we do not allow overselling on our Reseller Hosting packages. If you require overselling or if your requirements are outstretching what a shared hosting environment can offer, please consider our eUK VPS Hosting or eUK Cloud Hosting services. Our VPS Hosting and Cloud Hosting services come with full root access with no allocation restrictions on the amount of accounts you may host. However, we recommend you do not excessively oversell hosting services because it can affect the reliability and performance of your virtual or dedicated server.

Do you provide true 24×7 web hosting support?

Yes. We have level 1 and level 2 support staff and senior system administrators working around the clock. Many of our staff work alternate shifts with each month to provide our customers with 24×7 technical support, regardless of the service you buy from us. All of our services from eUKhost’s Shared Web Hosting, eUK Dedicated Servers and eUK Cloud Hosting come with 24×7 technical support every day of the year.

Can I use cPanel with eNlight Cloud Hosting?

Yes. We have a CentOS cPanel templates that automatically installs CentOS and cPanel on your eUKhost Cloud Hosting virtual machine. cPanel licenses cost just £5 per month per virtual machine/install. You do not need to have cPanel on your eNlight eNlight Cloud Hosting, you can also choose from:

  • - CentOS alone.
  • - Windows Server and Plesk.
  • - Ubuntu Server (Available Soon).

And as with all our other web hosting services, our Cloud Hosting products are fully managed hosting services.

eUK Web Hosting

What are the steps required to update webalizer

Webalizer is a complex statistical analysis program capable of producing charts and graphs about who is visiting your website included in the cPanel hosting account. Webalizer displays a series of bar graphs, with a key below the graphs Some time the webalizer is not updated automatically, at that time you need to update the webalizer manually by using following command.

/usr/local/cpanel/3rdparty/bin/english/webalizer -N 10 -D /home/username/tmp/webalizer/dns_cache.db -R 250 -p -n domain.com-o /home/username/tmp/webalizer /usr/local/apache/domlogs/domain.com

Note : Replace username equal to correct username and domain.com equal to correct domain name.

Security questions when logging into cPanel or WHM – Extra security net

If you own a web server with cPanel and WHM, and you wish to further strengthen the security in order to mitigate unauthorised access to accounts (or, more importantly, the root account via WHM), you can add a safety net by enabling “Security Questions”. Simply log in to WHM, and search for “Security Questions” (or go to Security Center -> Security Questions where you are able to enable this security provision).

Bear in mind this will also affect every cPanel account on the server, so if you have any customers with a cPanel account, they will need to add security questions the next time they login to their cPanel account.

While there are even more stringent security provisions you can implement, for example by disallowing access to the SSH service or the MySQL service to anything other than verified IPs (via the Host Access Control section of WHM), this in itself is a good security implementation irregardless.

How to auto delete Emails on cPanel

cPanel is the most easy to understand and flexible control panel in the hosting industry because of its GUI. You can have many additions to make any changes and upgrades in your hosting account through cPanel.  cPanel hosting is simple and powerful at the same time offering a high degree of stability and security. The latest version is 11.xx. cPanel offers the possibility to easily manage all services related to the domain, with a simple click on the icons on the panel. You can add e-mail accounts, gives direct access to files, activate a MySQL database, back up your files, install a shopping cart and many more features are available in cPanel. The use of the panel is simplified thanks to a well-designed user friendly interface.

Lets see how to auto delete Emails on cPanel :

You need to set the cron by using cpanel >> cronjob and add the following command to run in cron.

/usr/bin/archivemail –quiet –delete –days 20 /home/{USER}/mail/inbox
By using above command you can delete the 20 days old emails . Make sure you

replace {USER}with your actual cPanel Hosting account username.

How to Change MX Records of a Domain – cPanel Help

Not quite often are you required to change MX Records, but when you are switching servers. Following the below steps to change a domain’s MX (Mail Exchange) records for the emails to be run from a server. It forms an essential part of DNS records due to the fact that it something that would enable you to send emails.

how_email_work

Users can make changes to the domain’s MX records from their cPanel Interfaces.

Steps to change Domain MX in cPanel

Step 1: (a) Verify Nameservers

Using any of the online tools, you may ensure your current DNS records. Once you are aware about those details, you may proceed with making the required changes to the DNS settings.

(b) Modify the TTL Settings in DNS

TTL decides the time for the changes to take effect. Decreasing the Time To Live setting for the domain, would tell the system to refresh faster therefore allowing it to grab the changes faster. Once the necessary details have been detected rightly, you may increase it to the previous values.
Ideally it is advisable to make these changes at least 24 – 48 hours before amending the MX records.

Step 2: Amending the MX Records

You must be logged into your server as root via. SSH. Navigate to the /var/named directory. Look for the file named ‘yourdomain.com.db’ and edit it using your preferred text editor.

You must now make changes to domain’s serial number in the zone file and Save it.

Now, using the command prompt run the following command to inform the server with the updated configuration.

rndc reload domain.com

Alternately, you may choose to restart the named service.

NOTE : Your domain might not be accessible until the new settings are implemented.

How to change MX Records Using WHM (Web Host Manager)?

Customers using either a Virtual Private Server, Cloud Server or a Dedicated Hosting server would get an access to the WHM. Upon logging into the panel, look for DNS Functions.

Now, select Edit DNS Zone and choose the domain for which you intend to amend and hit the Edit option.

You’d see a drop down menu for MX records, wherein you are required to enter the MX records in the fields provided. Don’t forget to Save the updates.

It is important to know that the MX records would only point to names and the IP addresses, therefore, you are required to set a name for the IP address that you intend to use for the domain.

If you need any assistance with changing the MX records for your domain, please feel free to get in touch with our support department either via. Live Chat viz. available at our website or login to the client area and raise a ticket from the helpdesk.

« Previous entries Next Page » Next Page »
Content Call us at 0800-862-0380