<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>阿宽技术博客 &#187; 域名解析到ip加端口; 同一ip下多个网站</title>
	<atom:link href="http://www.hengxinsoft.com/tag/%e5%9f%9f%e5%90%8d%e8%a7%a3%e6%9e%90%e5%88%b0ip%e5%8a%a0%e7%ab%af%e5%8f%a3-%e5%90%8c%e4%b8%80ip%e4%b8%8b%e5%a4%9a%e4%b8%aa%e7%bd%91%e7%ab%99/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hengxinsoft.com</link>
	<description>技术交流</description>
	<lastBuildDate>Thu, 12 Jan 2012 06:17:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>一个IP下放多个网站的解决方案</title>
		<link>http://www.hengxinsoft.com/2009/12/%e4%b8%80%e4%b8%aaip%e4%b8%8b%e6%94%be%e5%a4%9a%e4%b8%aa%e7%bd%91%e7%ab%99%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88/</link>
		<comments>http://www.hengxinsoft.com/2009/12/%e4%b8%80%e4%b8%aaip%e4%b8%8b%e6%94%be%e5%a4%9a%e4%b8%aa%e7%bd%91%e7%ab%99%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 07:18:39 +0000</pubDate>
		<dc:creator>akin</dc:creator>
				<category><![CDATA[原创]]></category>
		<category><![CDATA[域名解析到ip加端口; 同一ip下多个网站]]></category>

		<guid isPermaLink="false">http://www.hengxinsoft.com/?p=381</guid>
		<description><![CDATA[    关于一个ip下放多个网站的问题困扰了 很长时间，网上给出了很多解决方法   总结了一下 下面给出 比较简单的一种： 实现一台独立服务器放置多个网站的方法很多，比如在Win2000/Win2003的IIS中(win 2008也可以的哦)，每个Web站点都具三个部分组成的标识（IP地址、端口号、主机头名）来接收和响应请求，通常我们采用的是主机头的方式来实现，即IP地址和端口号都使用同一个，而通过主机头来区别： 1、将您的所有网站的域名（如：www.hxin.org）都指向到您服务器的IP地址（如：61.163.231.200）； 2、将每个网站建立一个目录，如A网站放在D盘A目录、B网站放在D盘B目录 3、在利用IIS为每一个目录建立WEB站点的时候，我们在主机头中输入该网站域名即可，IP地址使用共用的IP地址、端口号使用默认的80端口即可。 通过以上3个步骤即可实现一台服务器放置多个网站。    需要注意的是端口可以全部用默认的80 不用怀疑  可以的 哈   ~~  这种方法也很好解决了 域名解析到ip加端口的问题 Copyright &#169; SITE_NAME. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement.]]></description>
			<content:encoded><![CDATA[<p>    关于一个ip下放多个网站的问题困扰了 很长时间，网上给出了很多解决方法   总结了一下 下面给出 比较简单的一种：</p>
<p>实现一台<a class="f" href="http://www.ynyes.com/idc/server.asp" target="_blank">独立服务器</a>放置多个网站的方法很多，比如在Win2000/Win2003的IIS中(win 2008也可以的哦)，每个Web站点都具三个部分组成的标识（IP地址、端口号、主机头名）来接收和响应请求，通常我们采用的是主机头的方式来实现，即IP地址和端口号都使用同一个，而通过主机头来区别：</p>
<p>1、将您的所有网站的域名（如：<a href="http://www.hxin.org">www.hxin.org</a>）都指向到您服务器的IP地址（如：61.163.231.200）；</p>
<p>2、将每个网站建立一个目录，如A网站放在D盘A目录、B网站放在D盘B目录</p>
<p>3、在利用IIS为每一个目录建立WEB站点的时候，我们在主机头中输入该网站域名即可，IP地址使用共用的IP地址、端口号使用默认的80端口即可。</p>
<p>通过以上3个步骤即可实现一台服务器放置多个网站。   </p>
<p>需要注意的是端口可以全部用默认的80 不用怀疑  可以的 哈   ~~  这种方法也很好解决了 域名解析到ip加端口的问题</p>
<hr />Copyright &copy; SITE_NAME. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement.]]></content:encoded>
			<wfw:commentRss>http://www.hengxinsoft.com/2009/12/%e4%b8%80%e4%b8%aaip%e4%b8%8b%e6%94%be%e5%a4%9a%e4%b8%aa%e7%bd%91%e7%ab%99%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

