Setting up URL Redirect between non-www and www for Magento Websites

Cloud Clusters support URL redirects from non-www URLs to www or from www to non-www. This can be performed in the Client Panel.
1.Log in to the Client Panel
Please log in to the Control Panel with your credentials. And locate your target deployment on the Home page or the My Applications page.

2.Navigate to the “Site & SSL” page
Click the “Manage” button on the Home page or the My Applications pgae, followed by the “Site & SSL” tab. Then find the domain you would like to enable the SSL certificate for.

3.Set up URL Redirect
Locate the URL you’d like to set up redirects for. Then, click the settings icon, followed by URL Redirect.

On the pop-up window, you can set up http redirect and url redirect. Tick the type of redirection you’d like to set up and click submit.

Note: To redirect http to https, you will need to install SSL certificate for the site. If you have not installed SSL certificates, please refer to guides on how to install a free SSL certificate or how to install a customized SSL cerfiticate.

That’s it. Now you have finished setting up URL redirect for your Magento sites.

Managing DNS Zone

Cloud Clusters offers name servers to manage DNS records for your domain. If you are new to this, please follow the steps below.


  • Before you start, make sure you have created your customized domain.
  • If you are using your own nameservers, you must make the “www” and blank DNS A records of your domain point to the IP address we provide in the Control Panel.
1. Go to the “Manage DNS” page
Click the icon at the end of the domain you just added, followed by clicking “Manage DNS”. The DNS Settings dialog box will appear.

2. Add DNS records
Click Add to add DNS records. We support five DNS record types, including A record, MX record, NX record, TXT record, and CNAME record.

Records Under DNS

Create A record:

An A record maps a domain name to the IP address (Ipv4) of the computer hosting the domain. By default, The system has created a blank A record and a www A record

Create MX Record
MX records are used to specify the e-mail server(s) responsible for a domain name.

Before you create the MX record, an A record for the mail domain –“Record Name: mail; IP: Your mail IP”

Create an NS record
NS records identify the DNS servers authoritative for a zone.

Create a TXT record
TXT records are used to provide the ability to associate arbitrary text with a host or other name

Create a CNAME record
CNAME records can be used to alias a hostname to another hostname.
Records under DNS ZONE:example com you can check.

Click on Add

Adding Your Domain to Magento

1.Log in to the Client Panel

Please log in to the Control Panel with your credentials. Then locate your target deployment on the Home page or the My Applications page.

2. Navigate to the “Site & SSL” page
Click the “Manage” button on the Home page or the My Applications pgae, followed by the “Site & SSL” tab.

3.Add your domain
On this page, you can see that a default domain is configured for each newly-created Magento site. Locate the website and click “Create Domain” to add your customized domain.

  • Step 1 Click “Create Domain” to add your customized domain.
  • Step 2 Input the domain name. For example:
  • Step 3 Decide if you would like to use our nameservers or not.
  • Yes: If you use our nameservers, please set your domain’s nameservers to &
  • No: If you prefer to use your own nameservers, you must make the “www” and “none” DNS A records of your domain point to the IP address we provide in the Control Panel.

The IP can be viewed here.

4. Check domain
This is a feature to check your domain health. Click the Check Domain button for a domain. You will get the check result in a few seconds.
If there are any issues about your domain, please make sure the issues are addressed.

5.Enable Free SSL
The following steps are for installing free Let’s Encrypt SSL to your domain. If your domain is not pointing to the IP address we provide, Free SSL cannot work.

 6.Make your domain as the primary domain.

If you prefer to have a particular domain as your primary one, you can define that as illustrated in the following picture. Changing the primary domain will change the website’s URL and the URL in your Magento’s database.

7.Manage your Magento website.

You can now manage your Manage website via browser.

How to Optimize Your Magento Database Log for Faster Loading

Don’t forget to back up your database before launching any kind of optimisation process.
We will discuss the three ways tp optimize your Magento Database

A.About Magento logging

By cleaning the database log tables and tweaking Magento’s log settings. You use Magento’s administration interface to optimize log settings.
Magento comes with a PHP script that can be used from the command line to clean database log tables and determine their size.

B.Magento Log Types

There are two log types in Magento. The first one is System and Exception log files. They’re disabled by default. So, if you want to have a detailed report on any system events, you’ll need to enable them. 

Go to System → Configuration → Advanced → Developer → Log Settings and choose Yes under the Enabled drop-down setting, and click on Save Config:

The logs will be saved in the ‘var/log’ directory, don’t forget to check and clean them periodically, as well as logs from ‘var/report’.

The second type is what we talk about today saves logs on any events related to customers’ activities. The data is saved in Magento Community Edition (CE) database tables listed below:


The tables contain lots of useful info like a customer’s login/out date and time, the URLs they visited as a part of a session, the products they compared, the quotes they made, their actions in-store, in general, etc.

Magento Enterprise Edition (EE) has two more tables, namely enterprise_logging_event and enterprise_logging_event_changes.

All this data accumulates and hampers your Magento if not cleaned timely. Thus, the bigger the store, the more unnecessary info overloads your website. So, here are three ways to solve this.

Clean Magento Database Logs via the Admin Panel

The steps you need to take here are:
1. Log in to your Admin panel.
2. Go to System → Configuration.
3. Go to the left sidebar, find the Advanced menu and click on System.
4.Choose the Log tab from the menu and set Enable Log to Yes, and set up a desired automatic log cleaning frequency.
 5.Click on Save Config.

Clean Magento Database Logs via MySQL Client 

1.Enter the phpMyAdmin panel from your hosting control panel.
2.Enable the checkboxes for the next tables with logs:


Add enterprise_logging_event and enterprise_logging_event_changes if you use EE.
Go to the action drop-down With the Selected menu at the bottom of the page and choose Empty.
Then click Yes on the appeared confirmation page. You now truncated the selected tables.
Now go to the top of the page and click on the Structure tab. Tick the same tables you’ve just truncated, and under the With Selected list, click on Optimize.

Clean Magento Database Log Tables Using the Command Line
You can make the Magento database cleanup through the log.php file in Magento /shell. It can be run both manually and by using a cron job.

When you run the cleaning manually, do the following:

1.Go to the root directory (terminal) and use the command:

php -f shell/log.php clean

2.See the results:

php -f shell/log.php status
Disable Magento Logging

1.Open the app/etc/local.xml file.
2.Paste the next patch before the </config> tag, and then save the local.xml file.
3.Navigate to System → Configuration → Advanced → Disable Modules Output and     choose Disable for Mage_Log.
4.Flush your Magento cache.

Transferring from cPanel to cPanel in WHM

cPanel provides a tool that you can use to transfer from cPanel to cPanel, from one server to another

Login to the WHM as root.
In the menu at the left, search for and then click on Transfer Tool. You will see several options that you will need to select or fill in. They include:
Root Password– Add the root password so that the root user can be used for authentication. If you’re using the root user leave Restricted Restore unchecked.
Once all of the information has been selected and added for the Remote Server Information and Authentication, click Fetch Account List.
When the processing is complete, you will see Additional Options. The Keep DNS Zone would need to be unchecked UNLESS your servers are in the same DNS cluster. If you have any doubts, please contact our live technical support team.

How to Migrate Your Website Using cPanel

This article will assist you with migrating your website from another hosting company that uses cPanel to Hosting offers Shared Hosting Plans, featuring cPanel. If your previous hosting company uses cPanel, then migrating your website(s) can be done easily, using a cPanel backup.
Generate cPanel Backup
To generate a cPanel backup, follow the steps in our tutorial: Backup Your cPanel.
Download cPanel Backup

Upload cPanel Backup

Now, using FTP, upload the cPanel backup file (you just created and downloaded) to your InMotion Hosting server.

After you have generated your cPanel backup from your old host’s server, download the backup file to your desktop using FTP.

Then, proceed to the next section to upload the cPanel backup you just downloaded from your computer to your ewebhostingstore Hosting Account.

Request cPanel Account Restore

Once you have uploaded your cPanel Backup, submit a Website Transfer Request from your Account Management Panel (AMP).

Simply, fill out the Website Transfer Request form and include these details in the Additional information to help us locate your data section.

  • Authorization to overwrite the existing cPanel account, with the restored cPanel account. (See warning below)
  • Location of your cPanel backup file
  • Name of your cPanel backup file
  • Comprehensive list of websites expected to be restored from backup file.
  • Comprehensive list of databases expected to be restored from backup file.

Please keep the following in mind when requesting a cPanel Account Restore:

  1. Customers can request assistance with restoring as-is free cPanel backups from a previous hosting provider.
  2. Website Transfer Service doesn’t guarantee removal of hack content
  3. Website Transfer process doesn’t include the transfer of Domain Registrations or emails accounts. 
  4. Emails associated with a cPanel account backup are restored as-is

WARNING: Restoring a cPanel account from a cPanel backup file will overwrite the existing user’s cPanel data (including website files, emails, databases, etc.). Any data that has been saved in the existing cPanel user’s account (on your ewebhostingstore Hosting server) will be deleted and replaced with the data contained in the cPanel backup file. However, the existing cPanel account’s username (assigned by ewebhostingstore Hosting) will remain the same.

Test Your site

Once our Website Transfer Team notifies you that the restoration has been completed, you may test your website(s) to make sure everything is working properly. If you have not yet pointed your domain to our name servers, you can test your site through either your Temporary URL or by making a hosts file modification.

Update Name Servers

The final step in the process of migrating your website(s) from another host using cPanel to InMotion Hosting, is to update the name servers for your domain(s) to point to ewebhostingstore hosting.

Once you have updated the name servers with the registrar of your domain, it can take anywhere from 4-24 hours for these changes to propagate.

Congratulations! You now know how to migrate your website(s) using the cPanel Backup/Restore process to move your website from another host (that uses cPanel) to InMotion Hosting.

Learn more about server management from Managed VPS Hosting Product Guide.