托管网站 [英] hosting website

查看:112
本文介绍了托管网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用单个ip托管多个网站...当前我在Windows XP,iis5.1上托管单个网站...因此在该配置下我可以使用多种语言托管多个网站...如果是apachi支持此功能后,就可以在xp上apachi工作以托管多个站点

i want to host the multiple website using single ip...currently i am hosting a single site on windows xp,iis5.1 ...so on that configuration can i host multiple sites with multiple language...if apachi support this then can apachi work on xp for hosting multiple site

推荐答案

您要查找的是主机标头.

在您的DNS设置中,将所有站点映射到相同的IP地址.然后,您可以在IIS中创建多个站点,并在此同时指定主机头绑定.

这样一来,您可以使用一个IP地址和端口,但可以告诉服务器根据请求的主机将访问者定向到所需的站点.

我可以肯定我是在IIS版本old-point-yesteryear中进行此操作的,但是肯定可以在6之后使用.

干杯.
What you''re looking for is host headers.

In your DNS settings, map all the sites to the same IP address. Then you can create multiples sites in IIS, and when doing so also specify your host header bindings.

This allows you to use one IP address and port, but tells the server to direct visitors to the site required based on the host requested.

I am fairly certain I was doing this back in IIS version old-point-yesteryear, but it works for sure in 6 later.

Cheers.


这篇关于托管网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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