Welcome to Hostinor, India's Cheapest Cloud Hosting Provider.

×

Hostinor Knowledge Hub

Blog

Our Website Redesigned

Hello Users,

Our website is now redesigned and we more wide range of products like webdesign and Legal services, please have a look at our service section to check all services.

We integrate WHMCS with our website for a better experience and easy account management.

We migrate all old clients in the coming months. Please note we will not integrate direct cpanel account login function with WHMCS, you have to log in manually to your capnel account.

If you face any issue and want to give us suggestion please mail us at [email protected]

Thanks

Abhisek Mohapatra, CEO, Hostinor Web Solutions

How to Migrate Your Website from One cPanel to Another

There are lots of reasons why people decide to move their websites from one web hosting provider to another and those reasons include the following:

  • Lack of features and functionality
  • Price increase
  • Disturbing upselling tactics by provider
  • Poor customer service
  • Reliability issues

The bottom line is that if you are not happy with your web hosting provider anymore then the most logical thing to do is to transfer to one that can meet your needs and expectations.

How to Migrate Your Website

If you have decided that you need to transfer your website to another web hosting provider then what you need to do is to move all your files to the new server.

You can easily accomplish this by creating a backup of all your files from your old server by using the cPanel backup tool. This tool automatically saves all your present files and settings, so that you can easily transfer it to your new server through the Restore feature of the cPanel backup tool.

Note: after creating a backup of all your files and settings and then restoring them to the new server using the cPanel backup tool, you still need to get the domain server settings from the domain registrar in order to finish the transfer.

Manual Website Migration

Now, if you have multiple websites and you just need to transfer one of those sites to another web-hosting provider then, unfortunately, the cPanel backup and restore option will not work and you need to do the website migration manually.

To perform the website migration manually, you need to follow the instructions given below.

Step 1: Backup the files of the website that you need to transfer to another hosting provider.

You can do this by downloading the website folder using cPanel’s File manager feature or you can also use an FTP service to download it.

Step 2: Export the files to a secure location.

You can use phpMyAdmin and ask the help of your new web hosting provider to achieve this task.

Step 3: Set up the domain name of the website that you are migrating and create a new database on the new hosting account.

Step 4: Import your old database to the one that you have created on your new hosting account.

Step 5: Upload the backup files that you have downloaded to the new hosting account.

You can do this by using the cPanel file manager feature of your new hosting account or you can use FileZilla to transfer it.

Step 6: Update the settings of your name server with the domain registrar.

Step 7: Review your site settings and check if all plugins were installed correctly.

Step 8: Delete all the data of the website that you are migrating from your previous hosting account.

Congratulations! You have successfully migrated your website from one cPanel to another.

How to check if your domain has ‘propagated’ following DNS changes

If you have recently updated your domain name to use new DNS records, or have updated your nameservers entirely, then you can check the propagation status using the following website… 

https://www.whatsmydns.net/

Tip

DNS propagation nowadays is mostly gibberish – most providers will tell you DNS propagation can take up to 72 hours. This is rarely the case, and propagation completes in less than an hour globally. The delay is usually caused by ISP’s caching those DNS records.

How to enable LetsEncrypt on DirectAdmin

LetsEncrypt is a free SSL tool that lets you install a very basic free SSL Certificate with 1 click. It supports multiple domains and sub-domains, and will auto-renew automatically before it expires after it’s ~90 day lifespan.

To enable this feature in DirectAdmin, ensure you have DirectAdmin 1.50.1 or newer.

If you’re running CentOS 6 or newer, it’s recommended to set DA to allow SNI. This will keep the setup simpler, especially when setting up SSL under an Admin account on the server IP (so it’s not installed globally)
Enable the letsencrypt=1 option in the directadmin.conf
Restart DirectAdmin:
echo “action=directadmin&value=restart” >> /usr/local/directadmin/data/task.queue; /usr/local/directadmin/dataskq d2000
Add the /.well-known Alias:
cd /usr/local/directadmin/custombuild
./build rewrite_confs
Install the most recent version of the script:
cd /usr/local/directadmin/custombuild
./build update
./build letsencrypt
Users should then be able to see the LetsEncrypt option in their ‘Enhanced’ skin via:

User Level -> SSL Certificates

Installing a free SSL certificate in cPanel using LetsEncrypt

Locating the plugin
Find the “Let’s Encrypt™ for cPanel” icon in the “Security” category, or by searching for “Let” or “ssl” in the top search bar:

The very first time you visit this page may take a few seconds, as it will register an anonymous account key with the Let’s Encrypt™ CA.

The Interface
The interface is split into two sections. The first section will list all of your domains that have “Let’s Encrypt™” certificates issued, their expiry, and options to remove, reinstall and view them:

The second section will list all of the domains configured in your account that are eligible to have a certificate issued for. Please note, redirected domains are unable to have a certificate issused.

Issuing a new certificate
Prerequisites
There are two important prerequisites to be met in order for a certificate to be able to issued:

Info
The domain name(s) you want signed must be pointing to this cPanel server already
The Let’s Encrypt™ CA must be able to visit http://your-domain/.well-known/acme-challenge/xxx successfully.
These directories/files will be created automatically, but you should take care that you do not have any .htaccess rules that prevent access. Most users will fulfil these requirements automatically.

Issuing Process
First, click the + Issue button to the right of the domain you wish to issue a certificate for. Please note, you will be able to select any extra domains to include on the certificate in the next screen.

Ensure that all of the domains you wish to include in this certificate are selected as included and click ‘Issue’. The process may take anywhere from 10 to 45 seconds, so do not navigate away from the page. At completion, the keys and certificates should be installed on the server, with a success message:

If you receive an error message, please check Troubleshooting.

Renewing certificates
Certificate renewal is automatic in the background. Your certificate will be attempted to be renewed every day from the point it is 30 days from expiring. The prerequisites listed above for issuing must still be met during the renewal attempts, or the attempts will fail.

Reinstalling certificates
The certificate can be reinstalled at any time through the “Reinstall” action. Possible reasons for reinstalling can be enabling SSL for mail servers post-issuing, or if the certificate was removed from the SSL/TLS manager. The status column will show the current status of the certificate on the system. If for any reason the certificate was removed from the SSL/TLS manager without being removed from the Let’s Encrypt™ plugin page, this status column will display “Uninstalled”.

Removing certificates
To uninstall a certificate, it is best to press “Remove” on the Let’s Encrypt™ for cPanel plugin page, rather than doing through the SSL/TLS Manager that comes with cPanel. This is because our uninstall process also removes the key and certificate from the manager, in one click. Please note that uninstalling a certificate will not revoke it at the Let’s Encrypt™ CA. You may wish to back up the private keys before you perform any uninstallations, as they are irretrievable, and you will require them if you want to use any of your previous certificates again.

Configuration file
All configuration and certificates are stored in ~/.cpanel/nvdata/letsencrypt-cpanel. We recommend you keep a backup copy of this file.

Cheap Hosting