【问题标题】:Forwarding to an GAE appspot account from a URL on names.co.uk从 names.co.uk 上的 URL 转发到 GAE apppot 帐户
【发布时间】:2014-06-11 21:47:33
【问题描述】:

我有一个名为 http://freeinternetgamereviews.appspot.com 的 GAE 网站。我还有一个名为 www.freeinternetgamereviews.com 的 URL。我希望访问 www.freeinternetgamereviews.com URL 的人看到以前的网页。我通过 names.co.uk 购买了我的 URL。谁允许两种形式的转发。转发到 apppot URL 或在 URL 栏中保留域名。我不想转发,因为我希望人们使用 www.freeinternetgamereviews.com,而这只是更改为 apppot URL。但是第二个使用框架集来包装我的 URL - 我无法控制它 - 这会导致登录屏幕出现问题,例如google(因为它们不会在框架集中打开)并且还会导致 google 拖网等问题,并且通常很糟糕。我也认为它破坏了我获得 google adsense 的机会。

感谢stackoverflow,我让jQuery在框架集中工作,并且可以在另一个选项卡中打开登录页面,但必须有更好的方法来转发到appspot站点,就像我正在做的那样?

谢谢

names.co.uk 自动生成的页面:

        <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
        <title>Free Internet Game Reviews</title>
        <meta name="keywords" content="Free Games Reviews">
<meta name="description" content="Review site for free internet games">
    </head>
    <frameset rows="100%,*" border="0" frameborder="no" framespacing="0">
        <frame name="site" src="http://freeinternetgamereviews.appspot.com" marginwidth="0" marginheight="0" noresize scrolling="auto">
        <noframes>
            <body bgcolor="#ffffff">
                <p>Free Internet Game Reviews</p>
            </body>
        </noframes>
    </frameset>

【问题讨论】:

    标签: google-app-engine url web


    【解决方案1】:

    你不想做这两件事。您希望将域本身的 DNS 设置为转发到 Google,并设置您的 GAE 应用程序以响应该域,如 the documentation 中所述。

    【讨论】:

    • 谢谢。这给了我需要的指针。我已经有一个过期的 Google Apps 帐户,因为之前的尝试失败了,经过一个小时的搜寻,同时遵循文档,我最终发现您可以将 GAE 添加到 Google Apps 仪表板(然后隐藏在“更多控件”下的底部) )。然后,这允许您设置 www.mydomain.com 网址以指向您的应用程序点。那时谷歌会非常清楚地引导你完成剩余的步骤。这个链接也很有帮助:link
    • 上述通过 google 应用程序转发 URL 的解决方案效果很好,除非在我 1 个月的免费试用后我需要每年支付 60 美元的转发费用,因为我需要成为 google 的付费用户应用。由于我不需要/不想要其他服务,这对于某些 URL 转发来说是昂贵的。是否有任何其他方式(免费)方式将 URL 转发到另一个 URL,因此当我键入 www.freeinternetgamereviews.com 时,它会显示 www.freeinternetgamereviews.appspot.com 的内容,而无需使用 names.co.uk 的框架集。谢谢
    猜你喜欢
    • 1970-01-01
    • 2013-03-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-01-30
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多