How to Change Magento Base Cart Domain Name?

For example, the old domain name is: http://www.glassespeople.com, and this shopping cart is based on magento. Now I need to remove the cart to my local computer, say under http://127.0.0.1/cart/glassespeople/. How to then?

1. Creat glassespeople, under http://127.0.0.1/cart/;
2. Copy all files under http://www.glassespeople.com, and paste them under http://127.0.0.1/cart/glassespeople;
3. Login phpmyadmin of www.glassespeople.com, and export the database of www.glassespeople.com;
4. Login phpmyadmin of http://127.0.0.1/cart/glassespeople, and import the database; Continue reading How to Change Magento Base Cart Domain Name?