Change Domain in Magento

Change Domain in Magento

To change the domain in a Magento installation:
 
  1. In the Databases section, click the phpMyAdmin icon.
  2. In the left-hand menu, click the link for your Magento database.
  3. Click the link for the core_config_data table.
  4. Look for the path fields named web/unsecure/base_url and web/secure/base_url. (currently, the config_id is 2 and 3.)
  5. Click the pencil icon for each of those rows and change each value to your new domain.

That's it!