How to host your web page using site

Yes, the Salesforce site enables you to host your web page( Visualforce page )/ application from your Salesforce org. The users can publicly access information (that you exposed on your page) without login. Let’s see how we can do that.

Step 1:

Create a visualforce page in your org.

Goto > setup > quick find > search pages > click on Visualforce page.

Click on “New”. Develop your page according to your needs.

Step 2:

Goto > setup> search “site” > click on sites.

Enter your domain name and check. Register your domain.

Now Click on “New”. Enter the site label and name.

  • Select your visual force page in “Active Site Home Page”
  • Check the “Active” checkbox.
  • Click on the Save button.

After saving click on “Public Access Settings” and give the required permissions for this profile. Like Visualforce page, apex class, custom object, standard object access, etc.

Copy your site URL and try it in a different browser.



Arun Kumar


One comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s