To reset your Hub site’s URL, you can remove its custom domain.
- Open the site in edit mode.
- Open Settings in the side panel.
- Click Domain Settings.
- Click Modify Domain Settings.
- Click Remove Custom Domain.
- Click Save.
You do not have to republish the site.