自定义域映射到Web应用程序 [英] Custom domain mapping to web application

查看:142
本文介绍了自定义域映射到Web应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在创建一个SAAS基础应用程序,每个公司都有自己的子域名。但是,如果公司想要使用我们的应用程序配置另一个域名,那么他们可以这样做。



例如我是一个注册了应用程序www.saas.com的公司,我得到了子域名company.saas.com,现在我想把我的company.com域名指向company.saas.com,所以我们该如何实现? / p>

我们要为应用程序的用户创建自定义域配置设置。
它像wordpress域映射(您可以将自己的域指向wordpress站点)。
所以当我读到相关的wordpress他们要求添加您的网站的CNAME您要配置映射的域。



我们的应用程序是用CakePHP编写的。



我们需要做任何服务器配置更改才能实现此目的?

解决方案

CNAME company.com 指向 company.saas.com :)


We are creating a SAAS base application, where every company get its own subdomain. But if the company wants to configure another domain with our application, they can do that.

e.g. I am a company registered with the application www.saas.com, i got the subdomain company.saas.com, now i want to point my company.com domain to the company.saas.com, so how we can achieve this?

We want to create a custom domain configuration settings for the users of our application. Its like wordpress domain mapping (you can point your own domain to the wordpress site). So as i read related with wordpress they asked to add the CNAME of your site for the domain which you want to configure for mapping.

Our application is written in CakePHP.

Is there any server configuration changes we need to do to achieve this?

解决方案

Put an CNAME record on the company.com pointing to the company.saas.com :)

这篇关于自定义域映射到Web应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆