Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add page to explain how to change the domain name of the MoodleBox #13

Closed
martignoni opened this issue Mar 21, 2018 · 2 comments
Closed

Add page to explain how to change the domain name of the MoodleBox #13

martignoni opened this issue Mar 21, 2018 · 2 comments
Assignees
Labels

Comments

@martignoni
Copy link
Member

@martignoni martignoni commented Mar 21, 2018

For reference, files to update to do such a change:

  • /etc/hostname (not mandatory)
  • /etc/hosts
  • /etc/nginx/sites-available/default (nginx configuration)
  • /etc/dnsmasq.conf (DNS configuration, only if "home" is changed)
  • /var/www/moodle/config.php (Moodle URL)
  • /etc/avahi/services/moodlebox.service (mDNS configuration, change filename too)

Then:

  • Update MathJax filter configuration in Moodle.
  • Run the Moodle replace tool.
@martignoni martignoni added the task label Mar 21, 2018
@martignoni martignoni self-assigned this Mar 21, 2018
martignoni added a commit that referenced this issue Sep 27, 2018
- Page added in 3 languages.
- Fix for issue #13.
martignoni added a commit that referenced this issue Sep 27, 2018
- Issue #13.
@martignoni

This comment has been minimized.

Copy link
Member Author

@martignoni martignoni commented Sep 27, 2018

Fixed. Closing.

@martignoni martignoni closed this Sep 27, 2018
@doxendine

This comment has been minimized.

Copy link

@doxendine doxendine commented Dec 17, 2019

Hi. Thank you for the instructions. One Question for you. I tried the instructions on the following page:
https://moodlebox.net/en/help/domain-name-change/
Everything seems simple enough, but it didn't work. I could never do step 6:
Step 6: Replace Moodle URLs
Access your MoodleBox through your browser using the new address http://mybox.me/ and use the URL replacement tool at http://mybox.me/admin/tool/replace/index.php to replace URLs in the Moodle database.

However, I noticed it seems that there are a couple extra steps above:
/etc/avahi/services/moodlebox.service (mDNS configuration, change filename too)
Then:
Update MathJax filter configuration in Moodle.

Do these steps need to be done as well? Or any thoughts on why it may not have worked?
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.