Steps for Visual Studio to publish a project to a remote server

Source: Internet
Author: User

The first step:

Need to install Web Deploy on a remote server: Http://www.iis.net/downloads/microsoft/web-deploy

PS. Select Full installation when installing.

Step Two:

2. After you install Web deploy, you also need to enable IIS- managed services.

Step Three:

After you have configured the management service, you will need to enter IIS to make the appropriate settings through the Management service:

Double-click Manage Services, configure IIS, here I keep the default settings, you can set according to your own situation:

Fourth Step:

Configure accounts for far-deployed Web projects

For security reasons, we'd better provide a separate account for deploying Web projects, and for sites in IIS, you can specify which users have permissions to deploy applications to this site.

First click on "IIS Manager User":

Fifth Step: Configure site User permissions

Sixth step: Remote deployment Project using Visual Studio 2013

Before publishing a project, we need to configure some permissions on the site that will be published (for example, the Default Web site) root directory. That is, the "Local Service" account needs to have permission to modify the site directory. Here we have a directory of "Default Web Site" for:

C:\inetpub\wwwroot, so we right-wwwroot file pieces, select Properties--Security--edit, add Local Service account, and tick "modify" permission "

If you do not configure the above permissions, you will be prompted at the time of publishing that the file cannot be created in the physical directory of the site, without creating permissions.

After configuring the physical directory permissions for the site, we start publishing the Web project:

Right-click the project to select Publish:

Then click Verify, the presentation information is correct, can be published. Next, click Next until the release is complete.

Steps for Visual Studio to publish a project to a remote server

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.