Friday, July 10, 2015

How to reset IIS with the IIS Reset command

You may need to restart Internet Information Services (IIS) before certain configuration changes take effect, or when applications become unavailable. IIS is the web server on your GearHost CloudServer. Often, the first step in troubleshooting issues with your website is to restart IIS. Follow the instructions below to restart IIS.
 
1. From the Start menu, click Run.
 
2. In the Open box, type cmd, and click OK.
 
3. At the command prompt, type iisreset /stop. IIS will attempt to stop all services and will return confirmation once all services have been stopped.
iisreset-stop.PNG
4. At the command prompt, type iisreset /start. 
iisreset_start.PNG


5. That’s it! IIS has been restarted.

Tips

  • Typing iisreset directly from the run command window will reset IIS.
  • iisreset /status will show the current status of IIS
  • iisreset /noforce will prevent the server from forcing close applications and process. This can cause IIS to reset slower but is more graceful.
  1. C:\>iisreset /stop
  2.  
  3. Attempting stop...
  4. Internet services successfully stopped

No comments:

Explaining DNS Concepts - DNS Servers-DNS Queries-DNS Records

3 types of DNS queries— recursive, iterative, and non-recursive 3 types of DNS servers— DNS Resolver, DNS Root Server and Authoritative Name...