function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Balajee S 10Balajee S 10 

Deleting domain name

How to remove domain name in salesforce?
Maharajan CMaharajan C
Hi Balajee,

If you're usyng the Developer editon it is not possible because this option is not available in Developer editon.

Only Available in: Enterprise, Performance, and Unlimited Editions

You can’t delete a domain that is attached to a published site. You’ll need to unpublish all sites attached to the domain before you can delete it. For Force.com sites, the domain is deleted immediately, and users no longer have access to any site connected to that domain. But with Site.com sites, the domain remains active until you republish the site.
To delete a domain from your organization:
From Setup, enter Domains in the Quick Find box, then select Domains.
Click Del next to the domain name.
Click OK.
When you delete a domain with an unpublished site attached, it also deletes the custom URL associated with that site.

You can’t change your custom domain name, or reverse its deployment, once deployed. If you have a special need to change it, contact Salesforce Customer Support.( https://help.salesforce.com/HTViewHelpDoc?id=faq_domain_name_rename.htm&language=en_US )

If you're usyng the Developer editon you can ignore the contact Salesforce support section.

Let me know if you want any further help.

If those points are help means mark these as a best answer.

Thanks,
Raj
(Sweet Potato Tec)