简体   繁体   中英

Masking a subdomain using to a domain just like Google Sites

I have a website hosted at xyz.abc.com.

However I want people to see only abc.com in the address bar. Currently I just redirect abc.com to xyz.abc.com and that changes the URL to xyz.abc.com.

In other words, I want to mask the subdomain just like Google Sites does (not cloak it using frames and iframes). Please help me with a solution. Thanks...

You just have to place frames at abc.com.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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