Please look at the very last step.
You need to update in the database the new url for all the assets.
Additionally, If you were using a CDN or S3 earlier, You may have to make additional changes in discourse and in the CDN to use the new domain.
I hope there are no errors related to CSP in browser console as well.