开发者

Having more than one site in IIS7

suppose I have two domains

  • www.site1.com
  • www.site2.com

To publish them on the 开发者_StackOverflow中文版same IIS server I have created 2 virtual directories /site1 and /site2.

How can I associate every name with its own virtual directory?


Rather than set them up as virtual directories, set each site up as their own Web Site. Then edit the bindings of each Web Site, and specify the appropriate domain name for each site

Having more than one site in IIS7


Your question doesnt seem to make sense,

'How can I associate every name with its own virtual directory?' - what does this mean what do you mean by name?

Also you dont have to make 2 VD's for 2 websites. Just make 2 websites...and use one dns for each one.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜