Concepts or coding lessons of Salesforce that you can implement easily

How to use Salesforce Sites Visualforce page in an iFrame on external website

I have implemented Visualforce pages in Force.com Sites. but I have to use that page in 5 different client sites. then what is the possible ways to achieve this?

Workarounds are:

Create 5 different VF pages with specific styling related to each site brand and then share each VF page with a specific team.

Problem: any change in requirements or fields would need to me change every VF page.

Learn Learning Salesforce Lightning Application Development to accelerate your Career with Salesforce!!! 

Best Solution:

Display site's page on external in an iFrame by the following method


  • Goto Setup -> Site settings.
  • Set the "Clickjack Protection Level" to "Allow framing by any page (no protection)".- same like below image.
  • Press "Save" button.