由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
BuildingWeb版 - 如何让一个域名完全镜像另外一个域名?
相关主题
如何用自己家的电脑作为web server, 建立自己的网站?请教:网页的Back按钮是怎么做的?
Clean URL, any guru know?[转载] 怎么track网站的访问量?
关于域名注册ASP problem in IIS 5.0
URL Redirection 在哪里弄比较好?请教
请教godaddy域名的访问问题URL Redirection Script
who can explain how the following URL is created?../的安全问题
终于把magento 装好了.求助: 80端口被block了
Apache2 on linux mod_rewrite questionApache配置一问
相关话题的讨论汇总
话题: url话题: space1话题: disk1话题: 域名话题: let
进入BuildingWeb版参与讨论
1 (共1页)
f******w
发帖数: 1856
1
如果有两个域名, a.com和b.com, 能不能让 任何a.com的url,比如说a.com/ccc/d.htm
都自动redirect 到b.com/ccc/d.htm?
如果可以的话, 用户最后看到的url是b的还是a的, 能让用户看到的url还是a.com的么?
domain mirror是不是干的这活?
h***a
发帖数: 358
2
我有同样问题.
居我所知. 如果 b.com 里设定REDIRECT 去a.com/ccc/d.htm 然后b.com URL 显示
a.com/ccc/d.htm 肯定是可以.
借贴问大家一个问题. 我用 .NET 的网站, 我有 a.com/ccc/d.aspx
b.com, c.com etc
怎么样才可以让 b.com, c.com 显示的是 a.com/ccc/d.aspx 页面. 但是URL 还是
保持原来的 b.com, c.com
听说要写IIS FILTER? 请问怎么写, 有SAMPLE吗? 谢谢
L*1
发帖数: 11537
3
Let them pointing to the same directory in your hosting plan (or configure
it in your own web server, e.g. apache):
a.com -> /disk1/space1/
b.com -> /disk1/space1/
In this way both a.com and b.com will have same content, but user will see
different URLs.
Any other forwarding method will let user see b.com only.

htm
么?

【在 f******w 的大作中提到】
: 如果有两个域名, a.com和b.com, 能不能让 任何a.com的url,比如说a.com/ccc/d.htm
: 都自动redirect 到b.com/ccc/d.htm?
: 如果可以的话, 用户最后看到的url是b的还是a的, 能让用户看到的url还是a.com的么?
: domain mirror是不是干的这活?

f******w
发帖数: 1856
4
thanks, will try it

Let them pointing to the same directory in your hosting plan (or configure
it in your own web server, e.g. apache):
a.com -> /disk1/space1/
b.com -> /disk1/space1/
In this way both a.com and b.com will have same content, but user will see
different URLs.
Any other forwarding method will let user see b.com only.
htm
么?

【在 L*1 的大作中提到】
: Let them pointing to the same directory in your hosting plan (or configure
: it in your own web server, e.g. apache):
: a.com -> /disk1/space1/
: b.com -> /disk1/space1/
: In this way both a.com and b.com will have same content, but user will see
: different URLs.
: Any other forwarding method will let user see b.com only.
:
: htm
: 么?

e******x
发帖数: 925
5
你可以用 .htaccess 做 URL转移
也可以用 parked domain

htm
么?

【在 f******w 的大作中提到】
: 如果有两个域名, a.com和b.com, 能不能让 任何a.com的url,比如说a.com/ccc/d.htm
: 都自动redirect 到b.com/ccc/d.htm?
: 如果可以的话, 用户最后看到的url是b的还是a的, 能让用户看到的url还是a.com的么?
: domain mirror是不是干的这活?

s******5
发帖数: 32
6
镜像要被GOOGLE砍的
.htaccess 做跳转吧
RewriteEngine on
rewritecond %{http_host} ^111.com [nc]
rewriterule ^(.*)$ http://222.com/$1 [r=301,nc]
或者你HOST后台有跳转设置的话,在那设置下就可以
n*****n
发帖数: 30
7
镜像 域名PR会掉的。最好别做
g******y
发帖数: 21
8
httpd.conf

ServerName a.com
ServerAlias b.com
ServerRoot ../../../
1 (共1页)
进入BuildingWeb版参与讨论
相关主题
Apache配置一问请教godaddy域名的访问问题
一个java web access的问题who can explain how the following URL is created?
error.html里面如何获取重定向前的 URL终于把magento 装好了.
How to set ASP FormMail code redirect to the supplied URL?Apache2 on linux mod_rewrite question
如何用自己家的电脑作为web server, 建立自己的网站?请教:网页的Back按钮是怎么做的?
Clean URL, any guru know?[转载] 怎么track网站的访问量?
关于域名注册ASP problem in IIS 5.0
URL Redirection 在哪里弄比较好?请教
相关话题的讨论汇总
话题: url话题: space1话题: disk1话题: 域名话题: let