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
Malaka SilvaMalaka Silva 

LinkedIn Post Inspector is blocked by Salesforce Production experience site.

Hello, we have a LinkedIn integration with our Production org.
When trying to share an article on LinkedIn using the 'https://www.linkedin.com/sharing/share-offsite/?url={url}', it seems Salesforce is blocking the LinkedIn bot from accessing our site.

We have used the LinkedIn Post Inspector to check and it returns 'Unable to connect to server. Bad DNS, bad gateway, or invalid server address.'

Seems like the production site domain is blocking LinkedIn. The same scenario however works in the Sandbox.


Why is this only occurring for Production (Are there any configurations to allow this in the Production site)?
VinayVinay (Salesforce Developers) 
Hi Malaka,

Check domain whitelisting information on below reference that can help you.

https://help.salesforce.com/s/articleView?id=000384438&type=1

Please mark as Best Answer if above information was helpful.

Thanks,