Microsoft
Software
Hardware
Network
Question : Need to temporarily redirect all pages asp.net c#
I am moving my site from datacenter 1 to datacenter 2. I changed IIS to serve up a site down page, but I forgot to account for any crawled links to other pages.
I want to temporarily redirect every page to a site-down.asp page (the site is in .net but this was a quickie page).. How can I do this? Code in web.config? I need this asap.
Thanks
Answer : Need to temporarily redirect all pages asp.net c#
Put up a site that only contains one link: sitedown.htm
Change the 404 message to redirect to that .htm file.
I'd create a second IIS site with the same IP/hostname for this configuration so you can re-use it during maintenance cycles..
Random Solutions
Load list.txt to bat file
Add New record from unbound form
How to store a path in EditBox1.Text via DialogBox control?
Brother Printer shows paper jam when there is none.
jquery auto complete
Equipment for home MPLS test lab?
WHAT'S THE DIFFERENCE BETWEEN NATURAL KEYS AND surrogate keys
Turn off the UAC
format of numeric data in nvarchar field
WCF hosted on IIS: Why doesn't it show me the WCF method name and it's signature?