Our domain name changed, where do I edit the hostname?

Yes, the hostname is stored in app.yml and you need to rebuild to change that.