如何Publish自己的网站

1) To use Web Deploy in Visual Studio, you must first Enable It.  To enable, please login to your Control Panel -> IIS Manager -> VS Web Deploy.

You'll also find all the necessary publishing setting there.  Please be sure to enable 'Allow Untrusted Certificate' when you publish.

The following instructions apply to Web Applications Projects.  If you created your site using "New/Web Site" web deploy will not be available for that web application.  The web site must be created as a Project.  Web Deploy can be activated on Visual Studio or Visual Web Developer Express

2) To Publish your web project using Web Deploy:
  1. Open the project in Visual Studio.
  2. Click on Build/Publish.  This will bring up the "Publish Web" window.
  3. Click on the drop down box on "Publish Method" and choose Web Deploy.
  4. On the "Service URL" text box input --> [Please find this in your control panel -> IIS Manager -> VS Web Deploy] 
    e.g: https://demouser-001-site1.smarterasp.net:8172/MsDeploy.axd
  5. In the Site/application text box --> [Please find this in your control panel -> IIS Manager -> VS Web Deploy]
    e.g: demouser-001-site1

If you are planning to upload your web application to a subdirectory you will also enter the name of that folder. 
For example: "demouser-001-site1/subfolder"

      6. Check "Mark as IIS application on destination" (If you are uploading to a subfolder instead of your site root).
      7. Check "Leave extra files on destination (do no delete)".
      8. Check "Allow untrusted certificate".
      9. In the User name text box --> [Please find this in your control panel -> IIS Manager -> VS Web Deploy]
      10. In the Password text box --> [Please find this in your control panel -> IIS Manager -> VS Web Deploy]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值