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
Lauren BLauren B 

Error: The selected site is not supported by the selected domain

I'm trying to set a custom domain to a force.com site but I keep getting the error shown below. Do i need to change ant settings?
 
The domain in question has provisioned correctly according to the domain settings. While creating custom url for community, I didn't get any error but while creating custom url for site I am getting this error.User-added image
AbhishekAbhishek (Salesforce Developers) 
Lauren,

Your question is answered here,

https://trailblazers.salesforce.com/answers?id=9063A000000aJfnQAE

Try the suggestions as mentioned in it.


Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.

Thanks.
Lauren BLauren B
Hi Abhishek,

Thank you for your reply but  the link which you have mentioned has not solve the problem i think. i did the same but no luck. Please suggest me something else. I really need it. For community it accepted but for site it is showing the above mentioned error. Thank you.