Thursday, 26 May 2016

IIS Learning Path Day 3 - Starting and stopping a website

Starting and Stopping a website

Once the website has been published, there will be cases that you will have to stop the website for a particular amount of time (and a very specific reason). IIS provides the capability of starting as well as stopping a website from working. A website can be started/stopped via the IIS user interface or via the command line.

Starting/Stopping a website from the User Interface

1. Start -> Administrative Tools -> IIS Manager
2. Expand the IIS section and click on then expand the Sites section.
3. Click on the website that should be started or stopped.
4. On the right pane of the IIS manager and under the Manage Web Site section click Start or Stop

Starting/Stopping a website from the Command Line

Open the command prompt and enter the following command:

appcmd start | stop site /site.name:string

string: The name of the website to be started | stopped

No comments:

Post a Comment