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.
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