I will soon be creating a web app where users can sign up and we'll host a page for them. The pages will all be generic templates that they can choose from. During the sign up process they can choose whether they want a subdomain of our main domain or they can register their own domain (through our site). I know we can have the nameservers set to our server automatically upon registration. But I'm wondering how we would go about adding the appropriate records on our server to basically make all these new domains and subdomains mirrors ("parked domains") of our main domain. Then in the scripting I can go in and figure out what domain the site is being accessed through and display the corresponding user data.
Can this DNS be setup completely automatically? I imagine I could write a script to add the records to some nameserver files, restart the service and be good to go. I just don't know where I would find this stuff. Any help would be greatly appreciated.
Can this DNS be setup completely automatically? I imagine I could write a script to add the records to some nameserver files, restart the service and be good to go. I just don't know where I would find this stuff. Any help would be greatly appreciated.