Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I came across this site and wanted my own page to be publicly view-able without any logins. How can I do this?


share|improve this question
up vote 9 down vote accepted

Easy! After creating your Visualforce page:

  1. go to Setup > Develop > Sites,

  2. register your subdomain name,

  3. create a new Site

  4. next to 'Site Visualforce Pages' click Edit

  5. add your page to the list of Enabled Visualforce Pages

share|improve this answer
I tried this but as a developer I guess I can't create any more sites nor delete any. Does that mean I need to create another account to try it out ? Anyway I'm accepting your answer.Thanks :) – MnZ Dec 18 '13 at 11:36
Sounds like you already have one set up :-) use that? Or just create another Developer Edition account and drop a new Site in there. – bigassforce Dec 18 '13 at 11:48
I added my page to my site. It is saying "Authorization Required You must first log in or register before accessing this page. If you have forgotten your password, click Forgot Password to reset it." – MnZ Dec 18 '13 at 13:07
D'oh! Go to Setup > Monitoring > Debug Logs, create one for Site Guest User and look for anything interesting. If that doesn't yield and leads, maybe raise a new question showing the source of your Page, Controller and any Extensions. – bigassforce Dec 18 '13 at 13:26
custom object permission was required. Solved ! – MnZ Dec 18 '13 at 13:28

You need to go to your site, click on the name and click edit on the "Site Visualforce Pages" section, add the page to the site.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.