Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Redirect a Asp .net URL to a default message

Posted on 2014-12-07
1
Medium Priority
?
209 Views
Last Modified: 2014-12-28
Hello,

I have a working Asp.net application now (Example url : www.abbd.com). We have to decommission application now. When some one try to access URL we have to display a message(MSG : Application is decommissioned). Can you please some one help me do it. I am a plsql developer asked to do this. I am completely new to .NET .

Thanks
0
Comment
Question by:vijay11
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 8

Accepted Solution

by:
johny_bravo1 earned 2000 total points
ID: 40499711
You can simple create a page and put a label with message "Application is decommissioned" (Say Default.aspx, which is generally a landing page, if you want to give a different name to the page set that page as landing page, so whenever your site is accessed your message is displayed)

Alternatively,
You can simply take down an ASP.NET application offline temporarily by uploading a file called App_Offline.htm in the root of a web application directory.  When App_Offline.htm file exists, any requests to the Web site are redirected to this file. The file displays a friendly message that tells clients that the Web site is being updated or down due to some reasons or decommisioned
0

Featured Post

Plesk WordPress Toolkit

Plesk's WordPress Toolkit allows server administrators, resellers and customers to manage their WordPress instances, enabling a variety of development workflows for WordPress admins of all skill levels, from beginners to pros.

See why 2/3 of Plesk servers use it.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Foreword (May 2015) This web page has appeared at Google.  It's definitely worth considering! https://www.google.com/about/careers/students/guide-to-technical-development.html How to Know You are Making a Difference at EE In August, 2013, one …
New Relic: Our company recently started researching several products to figure out what were the best ways for us to increase our web page speed and to quickly identify performance problems that we may be having. One of the products we evaluated wa…
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question