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
Newbie999Newbie999 

Will activating My Domain affect previously added site domains or are they separate settings and has no affect on each other.

Will activating My Domain in salesforce affect previously added site domains or are they separate settings ?.
Best Answer chosen by Newbie999
AbhinavAbhinav (Salesforce Developers) 
Hi,

Both are different things.

MyDomain is a custom URL to directly log-in to your Salesforce Instance rather than going through https//login.Salesforce.com. You can go through either one to reach your instance, but it allows for custom branding of the log-in experience and also provides a namspace for any Lightning Components in your Org.
A sites Domain is different in that it is a unique domain from which to host a web site (both secure and non-secure) along with any Communities that you might want to build in your organization using sub domains (you can redirect your own web domain to a Sites Domain hosted by Salesforce or register it with Salesforce to use as your Sites Domain). Similar to your org's MyDomain, a Sites domain allows a direct log-in experience that can be custom branded to your organization. The difference being that it is the ONLY way to enter your web site and each of your communities (each community can have a unique log-in URL if you configure it properly)."

reference:
https://salesforce.stackexchange.com/questions/152953/what-is-the-difference-between-my-domain-and-sites-domain

If it helps mark it as best answer.

Thanks!

All Answers

AbhinavAbhinav (Salesforce Developers) 
Hi,

Both are different things.

MyDomain is a custom URL to directly log-in to your Salesforce Instance rather than going through https//login.Salesforce.com. You can go through either one to reach your instance, but it allows for custom branding of the log-in experience and also provides a namspace for any Lightning Components in your Org.
A sites Domain is different in that it is a unique domain from which to host a web site (both secure and non-secure) along with any Communities that you might want to build in your organization using sub domains (you can redirect your own web domain to a Sites Domain hosted by Salesforce or register it with Salesforce to use as your Sites Domain). Similar to your org's MyDomain, a Sites domain allows a direct log-in experience that can be custom branded to your organization. The difference being that it is the ONLY way to enter your web site and each of your communities (each community can have a unique log-in URL if you configure it properly)."

reference:
https://salesforce.stackexchange.com/questions/152953/what-is-the-difference-between-my-domain-and-sites-domain

If it helps mark it as best answer.

Thanks!
This was selected as the best answer
Harry LucasHarry Lucas
You can also add multiple rules to each organization. When you set up ... has precedence. For details, read How multiple settings affect message behavior.

https://www.mcdvoice.org/
Carlton floresCarlton flores
I have recently started delving into sites and communities. I noticed that I need to have 'sites' domain to play around with communities. I just wanted to know what the difference is and how are they related to each other. vidmate (https://vidmate-apk.in/home/)  w3toys/instagram (https://instasave.onl/w3toys/)