Good Morning,
Our web development team are wanting to change the domain name of one of our VLEs, what parts of our Moodle setup would we need to change to ensure that the VLE continues to work?
Thanks,
Hi Graham,
You just need to:
As Guillermo said, change your $CFG->wwwroot and then run the /admin/replace.php tool to change olddomain.com to newdomain.com. But be aware that this replace.php script doesn't work on all platforms. See (and vote for) MDL-35099 so that it gets fixed.
I think it is best to dump the db and then work directly with the SQL file; this is what I usually do.
Thanks Guillermo and Luis, the domain name change over went without a hitch
Yes, you are right, in this case I guess it would then be best to search & replace directly, via SQL.