Hey hey!
I'm about 70% into completing a web application that will allow our clients to white label our service. They can then in turn resell the service to their audiences without any involvement from me or my colleagues. Now, something I need to figure out is how to allow my clients to set their own domain name from within their settings so that their users can reach our service using our clients custom domain?
Our clients are not permitted to see the source at all, so rather then allowing them to download the package I'd like to allow them to setup a custom domain name that points to our webserver. Just an insight as to why this is pretty much my only option.
I'm currently thinking that the best way to do this is to use mod_rewrite or possibly CNAME records (which I believe can be modified automatically using my registrars API?).
Could I please have some feedback from the seasoned programmers amoungst you? All I would want my client to have to do is to A) set their domain name in their settings and B) set an IP address in their chosen domains A records. Then after 12-72 hours it should be active.
Example:
1) Bobs audience currently visits bob.mybrand.com, but he wants to use bob.com!
2) Bob goes into his settings and enters bob.com into the custom URL field.
3) Bob is then presented with an IP address (or should he get name servers?) to configure bob.com with
4) 12-72 hours later Bobs audience can visit bob.com OR bob.mybrand.com to get to our services.
Sorry for the long winded explanation - I just wanted to make sure everyone was clear :)
I'm open to suggestions and solutions,
Michael McDonald