views
Using the Command Prompt
Click the Windows Start menu Windows Start. By default, it is the icon that has the Windows logo in the lower-left corner. If you make major changes to your server, or your server has been running for a long time, you may need to restart it to allow the changes to take effect, or to keep your server running smoothly. You can restart IIS using the Command Prompt or Powershell.
Type CMD. This displays the Command Prompt icon in the Windows Start menu.
Right-click Command Prompt. The Command Prompt has an icon that resembles a black screen with a white cursor. Right-click the Command Prompt icon to display a context menu next to it. Alternatively, if you would rather use PowerShell instead of Command Prompt, right-click the Windows Start menu, and click Windows PowerShell (admin).
Click Run as administrator. This launches the Command Prompt as an Administrator. In order to open the Command Prompt as an administrator, your Windows user account must have administrative privileges.
Type iisreset and press ↵ Enter. This resets all the websites and services on your server. It should only take a few minutes, but nobody will be able to access your server while it is restarting.
Restarting a Website in IIS Manager
Click the Windows Start menu Windows Start. By default, it is the icon that has the Windows logo in the lower-left corner. If you make a small change to one of your websites hosted on Windows Server, you can restart the website quickly using IIS Manager.
Type IIS. If IIS has been installed on your computer, you can launch IIS from within the Windows Start menu. Type IIS to display the IIS manager in the Windows Start menu.
Click the Internet Information Services (IIS) Manager icon. It has an icon that resembles a computer tower next to a globe. Click the IIS Manager icon to launch IIS Manager.
Click Sites to expand the list of sites. It's in the menu to the left in IIS Manager. Click "Sites" to expand and show a list of all websites on your server.
Right-click Default web site or the site you want to restart. This displays a context menu to the right of the website.
Hover over Manage Website. It's in the context menu that appears when you click on a website below the list of sites.
Click Restart. It's the first option in the "Manage Websites" menu. This restarts your website. It will happen so fast that you will not see any indication that the website was restarted. Alternatively, you can click Stop and then Start in the "Manage Website" menu to restart a website.
Restarting Application Pools
Click the Windows Start menu Windows Start. By default, it is the icon that has the Windows logo in the lower-left corner. Sometimes restarting the web servers isn't enough. Sometimes you need to restart the individual application pools. You can do so using IIS Manager.
Type IIS. If IIS has been installed on your computer, you can launch IIS from within the Windows Start menu. Type IIS to display the IIS manager in the Windows Start menu.
Click the IIS Manager icon. It has an icon that resembles a computer tower next to a globe. Click the IIS Manager icon to launch IIS Manager.
Click Application Pools. Doing so displays a list of all the application pools on your server.
Right-click one of the application pools. There are multiple application pools related to the different services and websites on your server. Right-click one of the application pools to display a context menu next to it.
Click Recycle. It's in the context menu. This restarts the application pool. It will happen so quickly that you won't notice it restarting. If this doesn't fix the problem, try restarting all the other application pools in IIS manager.
Restarting the World Wide Web Service
Click the Windows Start menu Windows Start. By default, it is the icon that has the Windows logo in the lower-left corner. If you have IIS installed on your server, you can restart the World Wide Web service using Server Manager.
Type Server Manager. This displays Server Manager in the Windows Start menu.
Click Server Manager. It has an icon that resembles a toolbox next to a computer tower. Click the Server Manager icon to launch Server Manager.
Click Tools. It's in the upper-right corner of Server Manager. This displays a drop-down menu with a list of different tools.
Click Services. It's in the drop-down menu that appears when you click Tools in Server Manager. This opens a list of services in a separate window.
Scroll down and right-click World Wide Web Publishing Service. It will be near the bottom of the list. Right-click World Wide Web Publishing Service to display a context menu next to the service. World Wide Web Publishing Service is only available on servers with IIS installed.
Click Restart. It's in the context menu that appears when you right-click a service in the Services menu. This restarts the service.
Comments
0 comment