In order to configure Moodle to work properly with another domain, you should modify the config.php file located Moodle's main folder.
You should change this line:
$CFG->wwwroot = 'http://olddomain.com' ;
to
$CFG->wwwroot = 'http://newdomain.com' ;
You need help with an application? hostlantern is specialized in hosting and supporting more than 200 scripts. Sign up for our web hosting services and let us help you with your application, 24/7!