You should make a backup of your db first, then you will need to go into it and adjust the values for the domain in the wa_settings table. The specific settings that you should check and adjust are Root URL, local root, and remote root. Just make sure that they match for your new domain and root url.