This article was co-authored by How.com.vn staff writer, Travis Boylls. Travis Boylls is a Technology Writer and Editor for How.com.vn. Travis has experience writing technology-related articles, providing software customer service, and in graphic design. He specializes in Windows, macOS, Android, iOS, and Linux platforms. He studied graphic design at Pikes Peak Community College.
This article has been fact-checked, ensuring the accuracy of any cited facts and confirming the authority of its sources.
This article has been viewed 64,738 times.
Learn more...
Do you need to restart Internet Information Services (IIS) in Windows Server 2016? Sometimes you need to restart your server after making changes. Also, if a server has been running for a long time, it's a good idea to restart it in order to keep it running smooth and stable. You can restart individual websites in IIS Manager, or you can restart IIS using the Command Prompt or Powershell. Additionally, you can restart application pools inside IIS Manager, or you can restart World Wide Web Publishing Services inside Server Manager. This How.com.vn teaches you how to restart IIS in Windows Server 2016.
Steps
- Click the Windows Start menu . By default, it is the icon that has the Windows logo in the lower-left corner.[1] 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.Advertisement
- 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.[2]
- 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.
- Click the Windows Start menu . 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.[3]
- 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.
- 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.[6]
- Click Application Pools. Doing so displays a list of all the application pools on your server.[7]
- 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.[8]
- If this doesn't fix the problem, try restarting all the other application pools in IIS 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.[9]
Expert Q&A
Tips
References
- ↑ https://grok.lsu.edu/article.aspx?articleid=18026&printable=y
- ↑ https://grok.lsu.edu/article.aspx?articleid=18026&printable=y
- ↑ https://learn.microsoft.com/en-us/iis/get-started/getting-started-with-iis/getting-started-with-the-iis-manager-in-iis-7-and-iis-8
- ↑ https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/jj635851(v=ws.11)
- ↑ https://youtu.be/4dp8wE9LREo?t=40
- ↑ https://learn.microsoft.com/en-us/iis/configuration/system.applicationhost/applicationpools/add/recycling/
- ↑ https://learn.microsoft.com/en-us/iis/configuration/system.applicationhost/applicationpools/add/recycling/
- ↑ https://learn.microsoft.com/en-us/iis/configuration/system.applicationhost/applicationpools/add/recycling/
- ↑ https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/How-to-restart-Vault-servers-World-Wide-Web-Publishing-Service.html
About This Article
Is this article up to date?
⚠️ Disclaimer:
Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.
- - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
- - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
- - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
- - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.