[分享] 三线 空间的原理分析 内附选择最快镜象代码
服务器托管为三线路,电信单独一IP,网通/铁通一IP。(所以我们送2个IP给大家)建议将主域名(www.???.com)用CNAME方法到智能解吸的域名上。
在A记录解吸分别到:电信(dx.???.com)和网通/铁通(wt.???.com)IP上。这样可防止智能解吸出错,导致网站访问很慢。
我们会提供几个 智能解析域名。
大家只需在域名设置里添加CNAME 记录到 我们智能解析域名上就行了
建议把 www 记录添加在我们智能解析地址上。
当你是电信用户,就智能解析成电信线路, 网通就解析到网通,铁通就解析到铁通线路。
在提供选择最快镜象站点的代码。
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>控制面版</title>
<style type="text/css">
<!--
body {
margin: 0;
padding: 0;
font-size: 14px;
color: #333;
text-align: center;
}
#wrap {
margin:150px auto;
background: #FFF;
}
#wrap p{
margin:40px 0;
}
a:link {
color: #63b900;
text-decoration: none;
border-bottom: 1px dashed;
}
a:visited {
color: #7fc937;
text-decoration: none;
border-bottom: 1px dashed;
}
a:hover {
color: #cc6600;
}
a:active {
color: #4f711f;
}
-->
</style>
</head>
<body>
<div id="wrap">
<p>尊敬的朋友,您好!正在自动选择最快的镜像服务器访问本站</p>
<p>速度测试中……</p>
<script type="text/javascript">
i=1
var autourl=new Array()
autourl="http://cp.lulin-idc.com/index.htm"
autourl="http://wt.lulin-idc.com/index.htm"
autourl="http://dx.lulin-idc.com/index.htm"
autourl="http://tt.lulin-idc.com/index.htm"
function auto(url){
if(i){i=0;top.location=url}
}
function run(){
for(var i=1;i<autourl.length;i++)
document.write("<img src='"+autourl+"' width=1 height=1 onerror=auto('"+autourl+"')>")
}
run()
</script>
<p>如果没有选择最快的镜像站点,请手动选择以下地址访问:</p>
<p><a href="http://cp.jjisp.com/index.htm">■自动选择镜像</a> | <a href="http://dx.cplulin-idc.com/index.htm">■电信镜像站</a> | <a href="http://wt.cp.lulin-idc.com/index.htm">■网通镜像站</a> | <a href="http://tt.cp.lulin-idc.com/index.htm">■铁通镜像站</a></p>
</div>
</body>
</html>
[ 本帖最后由 禄林网络 于 2006-7-1 18:24 编辑 ] 支持.偶现在用滴就是LZ的空间 先支持下 我只用正规机房的空间
另外
楼住如果要夸自己的西瓜的话
可以去商业营夸 什么叫3线哦
除非你 3个不同的线路的服务器
还用智能解析?都是P话 原帖由 爱你却不说 于 2006-7-1 18:41 发表
什么叫3线哦
除非你 3个不同的线路的服务器
还用智能解析?都是P话
正解。 3线接入
页:
[1]