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
Sunil Kumar 545Sunil Kumar 545 

how to create site?

have to create site,then have to register,and using user without session id .?
step by step how to implement ?
To create a basic Site, you need to follow the following four steps:
  1. Register a domain name: Navigate to Setup | Develop | Sites and enter a domain name to use. 
  2. Create a Site using the domain name
  3. Assign Visualforce pages to the Site:When you create a site, the platform creates a number of Visualforce pages for you to be displayed under different circumstances (for example, when the site is inactive). Simply hit the Edit button to add Visualforce pages that you want to expose on your Site.
  4. Set up the security access permissions
Ajay K DubediAjay K Dubedi
Hi Sunil, 
++ Pinky,

Please don't forget to follow the best practices for the sites 

Also, please have a look at the below reference for the setup: (http://​

Thank you,
Ajay Dubedi
Gary RalstonGary Ralston

Hi Sunil,

A site in Salesforce is a public-facing website that is built and hosted on the Salesforce platform using the Salesforce Sites feature. It allows organizations to create and manage custom websites, portals, and other public-facing pages that are integrated with Salesforce data and functionality. With Sites, you can create a variety of external-facing web pages, such as customer portals, partner portals, public-facing landing pages, and more

To learn more about creating sites in Salesforce, refer to the article at It covers features, use cases, limitations, and step-by-step instructions on how to create and customize sites in Salesforce.