大网数据广告活动
网站运营与故障问答

Is it possible to buy a domain and have it redirect to another URL?

· 52CE 我爱测

I am trying to set up a wedding website on a website called ewedding. I can design it using the templates I'm given there. If someone wants to visit the website, they have to visit https://app.ewedding.com/example.com . Is there …

问题原文

原帖链接 · mayank budhwani · CC BY-SA 3.0

I am trying to set up a wedding website on a website called ewedding. I can design it using the templates I'm given there. If someone wants to visit the website, they have to visit https://app.ewedding.com/example.com.

Is there any way I can purchase a domain example.com, such that it redirects to https://app.ewedding.com/example.com. If so, how? Or is there a better way to accomplish this?

已采纳解答

原帖链接 · tonydoe · CC BY-SA 3.0

Your service provider suggests the following:

Free accounts use the eWedding URL you chose at signup while upgraded Premium accounts may have chosen a custom .com. Even if you are using a custom domain name, your original eWedding URL will still work. Source

However there is a way as you have described to purchase a domain name example.com and set up a webpage containing a frame redirect to https://app.ewedding.com/example.com. In order to do that you 'll need to create a webpage at example.com/index.html with this code here:

<html><head><title>Title of your webpage</title></head>
<frameset cols="*">
 <frame name="main" src="https://app.ewedding.com/example.com " scrolling="auto" noresize>
 <noframes>
 <body>

 Your browser does not support frames

 </body>
 </noframes>
</frameset>
</html>

This method is called Frame Forwarding or Cloaked / Masked / Stealth Web Redirection. Many domain name registrars provide this option without necessity of obtaining an actual hosting and having the above coding done. You should also carefully read terms and conditions of this ewedding app service in case such a way of using it is not legally allowed.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2016-11-10)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。