Do I need to rebuild when my domain name changes?

Yes, you need to press CTRL + X to exit, it will ask you about saving.