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.
4. At the command prompt, type iisreset /start.
5. That’s it! IIS has been restarted.
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.
Command Prompt Examples
Internet services successfully stopped
Internet services successfully started
Status for Windows Process Activation Service ( WAS ) : Running
Status for Net.Pipe Listener Adapter ( NetPipeActivator ) : Running
Status for Net.Tcp Listener Adapter ( NetTcpActivator ) : Running
Status for World Wide Web Publishing Service ( W3SVC ) : Running
IISRESET.EXE (c) Microsoft Corp. 1998-2005
/RESTART Stop and then restart all Internet services.
/START Start all Internet services.
/STOP Stop all Internet services.
/REBOOT Reboot the computer.
/REBOOTONERROR Reboot the computer if an error occurs when starting,
stopping, or restarting Internet services.
/NOFORCE Do not forcefully terminate Internet services if
attempting to stop them gracefully fails.
/TIMEOUT:val Specify the timeout value ( in seconds ) to wait for
a successful stop of Internet services. On expiration
of this timeout the computer can be rebooted if
the /REBOOTONERROR parameter is specified.
The default value is 20s for restart, 60s for stop,
and 0s for reboot.
/STATUS Display the status of all Internet services.
/ENABLE Enable restarting of Internet Services
on the local system.
/DISABLE Disable restarting of Internet Services
on the local system.