Click here to Skip to main content
15,886,858 members
Please Sign up or sign in to vote.
2.33/5 (2 votes)
See more:
Hi,
I hosted the asp.net website in IIS 8.1, its working fine. I need to down the particular website between 10pm to 12 pm for maintenance purpose. Is it possible? Kindly give me the solution for this problem.


Note: Need to down the hosted website for the particular time in IIS WebServer.
Posted
Updated 18-Jul-14 5:32am
v2
Comments
[no name] 18-Jul-14 10:31am    
A solution to what problem? If you want to take the website down then shut down IIS.

1 solution

You could setup a scheduled task to run the following command at a specified time.
JavaScript
appcmd stop site /site.name:YOURSITENAMEHERE

This link[^] is very important to you.

Manually you must go to IIS MAnagement, select your SITE there, Right-Click on it and Select Stop. When you finish Start again using the same steps.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900