Magento: How to change your site URL/Domain using cPanel
In this article we will demonstrate how to change the URL/Domain of your Magento application.
For this article, we will assume that you are already logged into cPanel.
Step 1) Click the phpMyAdmin link found in the database section of the page.
Step 2) Click the database that your Magento site is using
Step 4) Locate the following two entries and edit the value section for both of them …
Your site may be working at the new URL at this point. Please try loading your site to see if it loads correctly. If it does not work we will need to clear the var cache. You can do this by following the steps below.
Step 1) Return to cPanel
Step 3) Double click on the “var” directory
That’s it! Your site should now be working at the new URL/Domain.