Disconnecting a Studio Subdomain
You can disconnect a subdomain from your project at any time. After disconnection, you can switch to a different subdomain or connect a custom domain instead.
For more details about site publication, please see these articles:
Steps
Open the publish panel
Click the [×] button next to the domain
If you want to disconnect a subdomain while using a custom domain
Click [Studio Domain Settings] to go to the subdomain settings screen, then click the [×] button next to the domain.