Activity › Forums › Salesforce® Discussions › Why are Visualforce pages served from a different domain? Salesforce® Discussions Why are Visualforce pages served from a different domain? Posted by Anjali on January 23, 2020 at 1:26 PM Why are Visualforce pages served from a different domain? MOHIT replied 6 years, 4 months ago 2 Members · 1 Reply 1 Reply MOHIT Member January 23, 2020 at 1:37 PM All our Visualforce pages are used like “c.YOURSERVER.visual.force.com/apex/YOURPAGENAME” , And because of this most of time we run into Same-Origin Policy error in Javascripyt if we try to access parent page from different domain. Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me