Magento: Changing Domains

Follow this guide to update the domain name of your Magento install. It's a good idea to back up your website prior to doing this.

  1. In cPanel, find the "Databases" section, and click "phpMyAdmin".
  2. Select your Magento database from the menu on the left.
  3. Select the "core_config_data" table.
  4. Find the "path" fields called "web/unsecure/base_url" and "web/secure/base_url".
  5. Select the pencil icon for each row, and change the value to the new domain name.





Note: Magento will not work with temporary URLs. If you are trying to test out your site before going live, the best way is to set up a subdomain for testing.


  • 51 Users Found This Useful
Was this answer helpful?

Related Articles

Is it a problem if I'm not in the US?

Not at all! In fact, we already have customers in countries all over the world.

I uploaded my page but it's not working!

Make sure that you are uploading to the public_html or www folder.  Only the files placed...

What is an error 404 page?

Error 404 indicates that you are requesting a file or a directory that does not exist on the...

Can I run scripts like Wordpress, Joomla, or phpBB on my site?

Absolutely! We make it extremely easy to install over 250 different scripts via the Softaculous...

Can I upgrade my plan or features later?

Upgrades/Addons are available to purchase at any time through your Client Area dashboard. Once...