I have one Umbraco instance for multiple sites. One of those sites is in production right now, but the other sites are still for preview purposes only and need te be closed for external users.
Before I had an IP-restriction in my web.config, with the
But what I want is to restrict access by IP-address for these sites. So the people who are creating content can do their normal job and publish content, but it's only viewable for our IP-address.
I've tried the Intranet Restrict package, but this isn't working for my Umbraco 7.2.6 install.
I hope someone can help me out to realize this?
So:
www.site1.com is public
www.site2.com is restricted for IP-address 1.2.3.4
Both domains are running the same Umbraco instance.
with urlrewrite for iis.. (which I think is what you might already have been using previously for a global ip-restriction) you can utilise conditions on the rules... both on the host domain and the ip.
Restrict access by IP-address
Hi,
I have one Umbraco instance for multiple sites. One of those sites is in production right now, but the other sites are still for preview purposes only and need te be closed for external users.
Before I had an IP-restriction in my web.config, with the
But what I want is to restrict access by IP-address for these sites. So the people who are creating content can do their normal job and publish content, but it's only viewable for our IP-address.
I've tried the Intranet Restrict package, but this isn't working for my Umbraco 7.2.6 install.
I hope someone can help me out to realize this?
So: www.site1.com is public www.site2.com is restricted for IP-address 1.2.3.4
Both domains are running the same Umbraco instance.
Thanks!
with urlrewrite for iis.. (which I think is what you might already have been using previously for a global ip-restriction) you can utilise conditions on the rules... both on the host domain and the ip.
https://docs.secureauth.com/display/KBA/URL+Rewrite+-+IP+Restrictions
with the addition of a similar condition for the domain.
So a few rules with host and ip conditions should cover your requirements?
Thanks! I've added this to my web.config:
is working on a reply...