Jump to content

Recommended Posts

Posted

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.

Posted
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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...