简体   繁体   English

屏蔽子域名使用到类似于Google协作平台的域名

[英]Masking a subdomain using to a domain just like Google Sites

I have a website hosted at xyz.abc.com. 我有一个网站托管在xyz.abc.com。

However I want people to see only abc.com in the address bar. 但是我希望人们在地址栏中只能看到abc.com。 Currently I just redirect abc.com to xyz.abc.com and that changes the URL to xyz.abc.com. 目前,我只是将abc.com重定向到xyz.abc.com,并将URL更改为xyz.abc.com。

In other words, I want to mask the subdomain just like Google Sites does (not cloak it using frames and iframes). 换句话说,我想像Google Sites一样掩盖子域(而不是使用框架和iframe掩盖它)。 Please help me with a solution. 请帮我解决。 Thanks... 谢谢...

You just have to place frames at abc.com. 您只需要在abc.com上放置框架即可。

<frameset rows="100%,*" frameborder="NO" border="0" framespacing="0">
<frame name="main_frame" src="http://xyz.abc.com/">
</frameset>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM