I also had to change these lines:$mosConfig_cachepath$mosConfig_absolute_path
If your new domain name directs to the same server then you should modify your configuration.php file only. The absolute path would be the same as before