Best practice forum (Archived)

Domain Change

 
? ?
Domain Change
بواسطة Friday, 10 February 2012, 6:42 AM - ? ?
 

We have a need to change the domain of our Totara site, e.g. from OldDomain.davenport.edu  to  NewDomain.davenport.edu    

Can anyone kindly provide guidance or point me to documentation to ensure that we make this change in all the appropriate places (config files, databases, etc.)?  

Are there any other risks we should be aware of which may affect content or operability?

Many thanks!
John

لقد تمت إزالة مشاركة المنتدى هذه
Sunday, 12 February 2012, 3:11 PM
تمت إزالة محتوى هذه المشاركة في المنتدى ولم يعد من الممكن الوصول إليها
لقد تمت إزالة مشاركة المنتدى هذه
Sunday, 12 February 2012, 3:30 PM
تمت إزالة محتوى هذه المشاركة في المنتدى ولم يعد من الممكن الوصول إليها
Craig Eves
Re: Domain Change
بواسطة Sunday, 12 February 2012, 3:35 PM - Craig Eves (Totara Support)
مجموعة Totara

Hi John

There is also some discussion on this at http://moodle.org/mod/forum/discuss.php?d=128863 which covers finding and replacing existing content that uses absolute links and also clearing the course cache so the new domain is used.

Craig

Chad Outten
Re: Domain Change
بواسطة Sunday, 12 February 2012, 6:14 PM - Chad Outten
 

Fyi - Totara has an inbuilt script that can be used to search and replace strings throughout the whole database. Grab a backup of your database first. It's located at yourdomain.com/admin/replace.php.

Search whole database for: OldDomain.davenport.edu

Replace with this string: NewDomain.davenport.edu

Chad Outten
Re: Domain Change
بواسطة Sunday, 16 December 2012, 1:37 AM - Chad Outten
 

Just a quick update. Since Totara 2.x, the replace script is now located @ yourdomain.com/admin/tool/replace/index.php.

On a related note, the current script only supports MySQL and PostgreSQL databases. Does anyone have a comparable script for MSSQL? Moodle tracker tells me this is on the radar for Moodle 2.3.x, so Totara may not inherit that enhancement until Easter 2013.

http://tracker.moodle.org/browse/MDL-35099

Cheers, Chad.

? ?
Re: Domain Change
بواسطة Monday, 13 February 2012, 5:17 AM - ? ?
 

Thank you all for your time and expertise!

Kind regards,

John