Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Restarting an Indivdual WebSite

Status
Not open for further replies.

4MULA1

Technical User
Jun 8, 2001
41
CA
I would like to restart an individual web site through a command line or script. I can use the ISM but this web site needs to be restarted once a week. The web site has its own IP address.

The web server is on a Windows 2000 SP4 running IIS 5.0. I have tried iisreset, net start and net stop from a command line but it starts all the web sites on the server. Is there a way to isolate the web site only?

Thanks
 
I tried this on IIS 5.0 with Windows 2000 and the script will not run properly.
Error message: Could not create an instance of the Cmdlib object. Must register the Microsoft.Cmdlib component.

Not sure what to register and if I register this component will it need more components. I do not think that the script was made for IIS 5.0

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top