I'm writing some software that will allow people to signup for an account, and setup a domain for their account. Picture a webhosting type thing where you can signup and they will check and register the domain for you, then auto-configure the webserver for your site. Basically, keeping the user far away from apache and giving them access to a php frontend that I'm writing (template site style)
I know php very well and have a good understanding of webhosting. I'm looking for someone to point me in the right direction of what I need to do to get this going. Ie, should I be reading a book about how to configure BIND, or is there a script out there that does this sort of thing? I have root access to my server, so should this be done using shellscripts? Where would I go to find out about auto-registering domains for people? Does godaddy, networksolutions, etc have a way to register domains like this? Basically I'm looking for either a few script links, or a book or two that will help me out with this.
For bonus points, can you reccommend a good way to bill customers? I can write the invoice part of it and all the account integration, but I'll have to run credit cards, and maybe integrate with paypal, so do you have a good idea for that?
I know this question is a little involved, but I'm going to give 500 points for it. If you have only one part of the answer, I will try to send points for a partial answer. Thanks in advance