在 IBM Bluemix 上使用不带 iframe 的屏蔽自定义域

Using Masked Custom Domain with no iframe on IBM Bluemix

我有一个带有 Namecheap 的域,我想将其指向我的 IBM Bluemix 应用程序。我尝试过屏蔽重定向:这只是将 Bluemix 应用程序放在 iframe 中。问题在于,当用户在应用程序中单击 link 时,栏中的 URL 不会更改(只有 iframe 路径会更改)。此外,如果我使用未屏蔽的重定向,那么 URL 只需更改为 Bluemix URL (appname.mybluemix.net)。我能做什么?是否可以将我的域指向 Bluemix 的名称服务器?我怎样才能让我的应用程序像驻留在域中一样运行(没有 iframe,也没有 URL 更改)。使用 Bluemix 甚至可以做到这一点吗?

谢谢,

--

你不能使用 Namecheap(Url 伪装)并且 URL Frame 对 SEO 不利。

您可以为您的 Bluemix 应用程序使用自定义域。文档在这里:https://www.ng.bluemix.net/docs/manageapps/updatingapps.html and here: https://www.ng.bluemix.net/docs/manageapps/securingapps.html