You can change your community name from Settings > Admin Settings > General Settings.
At this time, changing the community name will not change the URL slug. Unfortunately, this can't be changed due to cascading breakage throughout the rest of the community. Unfortunately, this can't be changed because it causes a lot of cascading breakage throughout the rest of the community.
Learn more about setting up a custom domain here: https://guide.heartbeat.chat/custom-domains