一楼里面有错误,大家看下面的吧:
将首页文件index.asp的78行:
domain1= Replace (Left (domain,InStr (domain,".")),".","")
修改为:
'增加支持自定义域名
dim Ksdomain,adian
Ksdomain=Replace (KS.GetDomain,"http://","")
Ksdomain=Replace (KSdomain,"/","")
adian=split(ksdomain,".")
ksdomain=adian(UBound(adian)-1)&"."&adian(UBound(adian))
if right(domain,len(KSDomain))<>KSDomain then
domain1=domain
else
domain1= Replace (Left (domain,InStr (domain,".")),".","")
end if
然后在后台管理的:空间域名设置输入框中输入你的自定义域名即可。如:www.b.com 并将你的域名www.b.com 指向你的服务就可以了。