简体   繁体   English

DNS和Http HOST标头问题

[英]DNS and Http HOST header issue

I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. 我将SharePoint Server 2007企业版与Windows Server 2008企业版一起使用。 And I am using publishing portal template. 我正在使用发布门户模板。 I have a physical server with a single IP address, and I have set in DNS to map two domain names (server1.mycorp.com and server2.mycorp.com) to the same server/IP address. 我有一台具有单个IP地址的物理服务器,并且在DNS中进行了设置,以将两个域名(server1.mycorp.com和server2.mycorp.com)映射到相同的服务器/ IP地址。

My question is how to setup two SharePoint web sites on the same server with a single IP address to serve two domain names individually (with the same port number 80)? 我的问题是如何在同一服务器上使用单个IP地址设置两个SharePoint网站,以分别为两个域名(具有相同的端口号80)提供服务? My current idea is to create two SharePoint web applications for the two web sites, with the same port number 80, but with different host header (setup Http host header to server1.mycorp.com and server2.mycorp.com individually for the two SharePoint web applications). 我当前的想法是为两个网站创建两个SharePoint Web应用程序,它们使用相同的端口号80,但具有不同的主机头(将两个SharePoint的Http主机头分别设置为server1.mycorp.com和server2.mycorp.com)网络应用程序)。 Not sure whether my idea is feasible? 不确定我的想法是否可行?

thanks in advance, George 预先感谢乔治

I believe this belongs in ServerFault. 我相信这属于ServerFault。

And you also seem to describe a common host header concept, when you create your WebApplication in the SharePoint Central Admin, you will define a host header, being on the same IP or not, IIS will respond to them individually, so yes it works. 而且,您似乎还描述了一个常见的主机头概念,当您在SharePoint Central Admin中创建WebApplication时,您将定义一个主机头,无论是否位于相同的IP上,IIS都会分别对其进行响应,因此可以。

Application Management => Create Web Application => define host header, define same port 80, done. 应用程序管理=>创建Web应用程序=>定义主机头,定义相同的端口80,完成。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM