新西兰天维网社区

标题: 自定义 Sub Domain Name, IIS 设置? [打印本页]

作者: 一天    时间: 2010-4-24 12:22:01     标题: 自定义 Sub Domain Name, IIS 设置?

本帖最后由 一天 于 2010-4-24 12:51 编辑

比如www.mycom.com 还有 mail.mycome.com是我的,还想要注册一个demo.mycom.com。怎么设置,哪里设置?

(貌似通常HOST公司提供的网页设置上就能改,不过细节?)

还有就是 一台Window server 上已经有 IIS 了,默认port 80 的request 是通过 router 发到Win server 的 内网 IP的。我又架了台Apache服务器(Linux,所以用虚拟机另架了一台,不同的IP地址)。希望Internet上http://www.mycom.com 到Windows Server 上。 http://demo.mycom.com 到 Apache Server 的 IP 地址上,怎么设?

目前想到的办法是用在Win Server上用 Apache 做一个 reverse proxy 之类的东西,然后根据request是 demo.mycom.com还是mail.mycom.com发送到localhost 或者是 Apache server。 不过或许Windows server 或者IIS应该有redirect request 的功能?所以不需要再额外架个Apache?
作者: Xeon电脑    时间: 2010-4-24 13:34:45

??? 你在说什么呢?  没有看懂
作者: vicentyang    时间: 2010-4-24 14:31:11

我暈,用得著那麼複雜啊麼,你直接在iis上綁定subdomain,然後foward-request 到apache上就好了啊
作者: 一天    时间: 2010-4-24 15:45:05

3# vicentyang
subdomain还要再注册么,还是IIS上就能设了?

域名和IIS那头都不是我管,帮人问,所以要问清楚。。。
作者: 胡思≮乱想    时间: 2010-4-24 15:49:34

二级域名直接在管理页面就设置就好拉?  cpanel/plesk? 有subdomain control
作者: 一天    时间: 2010-4-26 09:51:21

谢谢两位了。
当时帮着看了看subdomain的设置,不过是用的什么panle我也记不太清了。。。
作者: BU5TED    时间: 2010-4-26 21:26:32

不能用防火墙port forward? 还是我理解有错误。。。
作者: BU5TED    时间: 2010-4-26 21:27:30

就是建个单独的vlan 然后port forward, 你看可行不。。。
作者: 一天    时间: 2010-4-27 11:02:38

就是建个单独的vlan 然后port forward, 你看可行不。。。
BU5TED 发表于 2010-4-26 20:27

现在就是port forwarding,通过路由/防火墙 forward不同的port 到不同的ip。不过觉得这只是临时的解决办法,从用户的角度考虑,还是不同的subdomain同样的standard port 80比较好用。
作者: BU5TED    时间: 2010-4-27 14:34:24

if thats what you want, first you need to create a dns entry (Host "A" record) for demo.mycom.com which is an entry under the mycom.com zone just like the www entry but may or may not point to the same ip

next you need to create a new website right click websites in iis choose new then website, but you need to specify a host header value for that website (demo.mycom.com)

then go the website properties and edit settings under Home Directory to make content come from same or different directory used by www.mycom.com/demo/ website

try that...
作者: 一天    时间: 2010-4-28 11:16:27

10# BU5TED
当时我们设新dns entry的时候,就是卡在这部分了。。。
作者: ifurniture    时间: 2011-1-13 23:14:53

提示: 作者被禁止或删除 内容自动屏蔽




欢迎光临 新西兰天维网社区 (http://bbs.skykiwi.com/) Powered by Discuz! X2