by Séverin Terrier.
Hi Andrew,
When you change the URL of your Moodle site, it is (more or less) a Moodle migration. And you can see in the dedicated documentation that you need to update the database. It can be done with the search and replace tool, that as the advantage to also make changes in HTML blocks.
Séverin