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
marcusaureliusmarcusaurelius 

IP Restrictions and Sites

We created a sf 'site' and went to apply IP blocks to the web user profile.  Once we try to go back to our home page, it reverts to the 'maintenance' template and we are not able to view anything else.

 

Does anyone have any thoughts on how to make this work?

 

Tx!

Best Answer chosen by Admin (Salesforce Developers) 
BulentBulent

when you use the IP restriction on sites you will have to use your secure url

https://<name_you_registered>.secure.force.com to access your site

Message Edited by Bulent on 08-05-2009 03:15 PM

All Answers

BulentBulent

when you use the IP restriction on sites you will have to use your secure url

https://<name_you_registered>.secure.force.com to access your site

Message Edited by Bulent on 08-05-2009 03:15 PM
This was selected as the best answer
marcusaureliusmarcusaurelius
when i set up the site, there is no option to change the 'http' to 'https'
BulentBulent

correct. You need to tell your users to use the https url

http://<your domain name>.secure.force.com also works but since you are IP restricting your site you probably want to use SSL

you can also have a code on your home page of your site to check if the access is http then redirect the request to the https  

marcusaureliusmarcusaurelius
neither option seems to work...does my org need to be configured for https sites?
BulentBulent

no maual setup is required for this.

please send me an email at bcinarkaya@salesforce.com with your orgid and we'll take a look at this.