I am building a Saas Application.
In it, there are multiple user accounts, who will be accessing the application from their own domains.
They will link their domains to my root domain where the application is installed, using CNAME records.
When a user registers, they are asked to enter their domain name. We need to create a new Alias for enabling the CNAME Record programmatically using PHP.
Is there any way to do it?
Edit
Each client of the application needs to access the application via their domains (a custom domain that client owns) which are pointed to our domain (the base domain of the application)using CNAME record in their DNS records.
How can I programmatically bind the custom domain supplied by the client with my hosting account from PHP? Say adding of Parked domain or Domain Alias from PHP code.