Web Deploy to 2 IIS Servers

jyg 1 Reputation point
2022-03-03T03:43:36.36+00:00

I have an asp.net ASMX application. This application need to be deployed to 2 IIS servers, both of which are behind a load balancer.

How can I use Microsoft Web Deploy to deploy my application to both webservers? I have googled and researched extensively, and I couldn't find anything.

At present, I have to manually copy and paste the application to each server.

Windows development Internet Information Services
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce Zhang-MSFT 3,771 Reputation points
    2022-03-04T02:01:06.94+00:00

    Hi @jyg ,

    All web applications(not only ASMX) use same way to publish to IIS via web deploy. You need to use visual studio to combine with web deploy.
    179816-1.png
    You just need to change server and destination URL, make sure visual stuido connect to IIS in different server. The rest is just left to visual studio and web deploy to do.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best regards,
    Bruce Zhang

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.