问题原文
原帖链接 · 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.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
