In order to stop and start only specific site using IIS7, I used the following command from command prompt.
%systemroot%\system32\inetsrv\appcmd stop apppool /apppool.name:MySite
%systemroot%\system32\inetsrv\appcmd start apppool /apppool.name:MySite
where MySite is the name of the site which you want to stop and start.
No comments:
Post a Comment