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
JesseRCJesseRC 

Login IP Ranges, Site page changes

I have a list of our office IP Ranges. Entered them into the appropriate area for our site's profile. But then we got totally locked out of the site. So my first question is does anybody know about anything funky when enabling Login IP Ranges? I removed the IP Ranges but the site is still unaccesible, getting authorization required message. Its been at least 15 minutes since i removed the IP ranges but the site is still locked out. 

 

Does anybody have insight on whats going on? Just to verify the site did work just fine before, it had been up for a few days and everybody could see it. We wanted it to be internal so I got a list of our external IP's. Even went to whatsmyip.com to verify. 

Best Answer chosen by Admin (Salesforce Developers) 
RyanGuestRyanGuest

If you use IP ranges, you can only access the Site using https and using the secure URL. Anything http will be blocked (even if it's in the valid IP range).

All Answers

RyanGuestRyanGuest

If you use IP ranges, you can only access the Site using https and using the secure URL. Anything http will be blocked (even if it's in the valid IP range).

This was selected as the best answer
JesseRCJesseRC

Oh okay, thanks for the info. Wish that would have been stated somewhere rather than me entering and re-entering ranges for the past week. So does my custom web address need to specify to point to the https URL?

RyanGuestRyanGuest

Custom web addresses don't work with IP ranges, because the SSL certificate for https will be your force.com address and not your custom address.

 

So if you want to use IP ranges, you'll need to use https://mysite.secure.force.com.

JesseRCJesseRC

Gotcha. Thanks again.