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 ?
PINKY REGHUPINKY REGHU
To create a basic Force.com 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 Force.com 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
Reference:https://developer.salesforce.com/page/An_Introduction_to_Force.com_Sites
Ajay K DubediAjay K Dubedi
Hi Sunil, 
++ Pinky,

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

Also, please have a look at the below reference for the setup:
https://help.salesforce.com/articleView?id=sites_setup_overview.htm&type=5 (http://​https://help.salesforce.com/articleView?id=sites_setup_overview.htm&type=5)

Thank you,
Ajay Dubedi
Gary RalstonGary Ralston

Hi Sunil,

A force.com 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 force.com 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 force.com sites in Salesforce, refer to the article at https://arrify.com/force-com-site-in-salesforce/. It covers features, use cases, limitations, and step-by-step instructions on how to create and customize force.com sites in Salesforce.