如何在IIS中设置子域? [英] how to set up sub-domain in IIS?

查看:112
本文介绍了如何在IIS中设置子域?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个域名为www.college.com的网络应用程序。我想用子域(student.college.com)映射项目内的文件夹(学生)。这该怎么做。?实际上学生文件夹文件依赖于学生文件夹旁边的课程(在www.college.com项目中的意思)。请帮助我在IIS中设置它。

I have a web application which has domain www.college.com. I want to map a folder(student) inside project with a subdomain(student.college.com). How to do this.? Actually Student folder files are depend on classes out side the student folder(means in www.college.com project).Plese help me to setup this in IIS.

推荐答案

创建一个新的绑定:

http:/ /technet.microsoft.com/en-us/library/cc731692%28v=ws.10%29.aspx [ ^ ]



或者使用重写规则:

http://www.iis.net/learn/extensions/url-rewrite-module/creating-rewrite-rules-for-the-url-rewrite-module [ ^ ]



祝你好运!
Create a new binding:
http://technet.microsoft.com/en-us/library/cc731692%28v=ws.10%29.aspx[^]

Or use a rewrite rule:
http://www.iis.net/learn/extensions/url-rewrite-module/creating-rewrite-rules-for-the-url-rewrite-module[^]

Good luck!


这篇关于如何在IIS中设置子域?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆