ITGURU Posted October 10, 2016 Posted October 10, 2016 Is it possible within IIS when have a redirection check to see if the redirected site is online or not before redirecting, and then display the appropriate page? To clarify: - a user visits http://www.domain.com and goes to IIS. - Typically IIS with redirection set would go straight to http://www.domain2.com - If this website is down a 'page cannot be displayed' is shown. - If the redirected website is down, to show the local hosted website instead. Thanks.
ReadTheNetwork Posted October 10, 2016 Posted October 10, 2016 Are these internal sites? If so then yes, you can set a default 404 redirect if the site doesn't exist (or if it's down).
ITGURU Posted October 10, 2016 Author Posted October 10, 2016 Are these internal sites? If so then yes, you can set a default 404 redirect if the site doesn't exist (or if it's down). The main website is hosted externally, but the website for if the main one is offline would be hosted on the server. Currently I have IIS ticked to re-direct to the new URL whether or not the destination site is online.
ReadTheNetwork Posted October 10, 2016 Posted October 10, 2016 What firewall do you use? This sounds like a firewall setup rather than IIS as you're looking externally then internally.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now