问题
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?
回答1:
Put an CNAME
record on the company.com
pointing to the company.saas.com
:)
来源:https://stackoverflow.com/questions/12071282/custom-domain-mapping-to-web-application