If you need to update the domain name of your Magento installation, just follow these steps:
- Login to cPanel.
- Click the phpMyAdmin icon.
- Click the link for your Magento database from the blue, left-hand menu.
- Click the link for the core_config_data table.
- Look for the "path" fields named web/unsecure/base_url and web/secure/base_url. (Currently, the "config_id" is 2 and 3.)
- Click the pencil icon for each of those rows, and change each "value" to your new domain.
- You may need to empty your /var/cache/ folder before it works.