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
Agim VeselajAgim Veselaj 

Error when trying to create a path in a custom domain: The selected site is not supported by the selected domain

I added an external domain to Salesforce. The process went without any problem and I also managed to add a few paths to the domain which pointed to Force sites, in the same day. After a few days, I wanted to add more paths but I kept getting the following error: Error: The selected site is not supported by the selected domain. I have tried many things such as changing the API version, creating a page with only a single HTML element, doing various combinations but none of them worked. I also googled my problem and found two links which did not help me fix my problem. Below are those two links:
https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000A98fqSAB
https://developer.salesforce.com/forums/?id=9062I000000IVBEQA4

So please do not refer me to those links, I've already tried the solutions which were shown in the links. My site does not have a login system.

I am getting quite frustrated from this error because I do not know where it came from. Please help me if you can, thank you!
SwethaSwetha (Salesforce Developers) 
HI Agim,
Based on a past scenario I've seen, if the domain that is being associated with the site has the below selection it would result in the error:

'Salesforce serves the domain over HTTPS, using a Salesforce content delivery network (CDN) partner and a shared HTTPS certificate'

This option allows only Experience Cloud sites to be linked to the domain.
If you try to link a Site domain, the error is thrown.

Please refer to the below article for more details.

https://help.salesforce.com/articleView?id=sf.domain_mgmt_domain_config_options.htm&type=5

The only option for serving the force.com site with a custom domain and enabling HTTPS is to use your own CA-signed HTTPS certificate.

The below article has more details on how to generate and upload a CA-signed certificate.
https://help.salesforce.com/articleView?id=security_keys_uploading_signed_cert.htm&type=5

If this information helps, please mark the answer as best. Thank you
simply buzzes 9simply buzzes 9
Hi, I hope everything is great on your side. i have a very solid reason how can i find the best templare for my site (https://mulleryperez.cl/) do you have any best source please?