how to host an ASP .NET 3.5 website to world wide web. like www.mynewwebsite.com

青春壹個敷衍的年華 提交于 2019-11-28 14:49:07
vasmos
  1. Select your App and hit 'Publish'

  2. Select 'New Profile'

  3. Select 'IIS, FTP, etc creat profile'

  4. Select 'FTP' and enter web server settings

Step 5 use your profile and select publish.

If your getting a WebConfig error after uploading to the web server try the following:

Trim the WebConfig file to:

<configuration>
<system.web>
<customErrors mode="Off"></customErrors>
<compilation debug="true" targetFramework="4.6.1"/>
<httpRuntime targetFramework="4.6.1"/>
</system.web>
</configuration>

For adding any custom host to your local network or machine should do following procedure:

  1. Update local host file
  2. Create new website in IIS and map it to custom host
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!