全国扫黄打非活动如火如荼的进行,我的服务器也被宣布永久关闭了。
手上十几个客户的网站没地方放,要我再掏一笔钱购买服务器,到时候过年又没钱花。
试问,如何将十几个.net网站用一个空间搞定(在不修改程序的前提下,我考虑用转发)

解决方案 »

  1.   

    嗯 我测试了一下,宣布报错。Server Error in '/' Application.
    --------------------------------------------------------------------------------Configuration Error 
    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS.Source Error: 
    Line 48:         </pages>
    Line 49: 
    Line 50:         <authentication mode="Windows" />
    Line 51: 
    Line 52: 
     Source File: E:\www\zajindan\ceshi\web.config    Line: 50 
      

  2.   

    去掉web.config可以
    但我有几个网站已经编译过了,没有源文件。
      

  3.   

    所有网站的bin目录文件放到根目录的bin文件夹,所有子目录的web.config的配置都添加到根目录的web.config
      

  4.   

    如果我的网站都不健康,那天下可能会没有网站。
    中国只有一家网站,即www.miibeian.gov.cn