user1982375
user1982375

Reputation:

How to publish ASP.Net website to remote machine?

I am trying to publish the ASP.Net site in IIS to a remote machine. Presently I am publishing the site local file system and copying that folder to remote machine using mstsc tool.

Is there any way I can directly publish to remote machine?

Upvotes: 1

Views: 2085

Answers (1)

Ivan Sivak
Ivan Sivak

Reputation: 7498

Sure there is,

  1. You have to make sure web deployment service is running on your server. You can check these articles to find out how to install the web deployment. Here or here.

  2. Once your web deployment service is running and configured you need to configure your publishing settings. In Visual Studio right click on your solution project, choose Publish and select the Web deploy or Web deploy package as your publish method setting. Good article describing web deployment scenarios can be found here.

Hope that helps you.

Upvotes: 1

Related Questions