Auto database user creation

Good morning,

I'm loving this software, but I'm having a few issues.

I can't get the DNS settings to work correctly. My DNS panel at my domain company points to my server, and my DNS settings on my server point to my domain company, but it's still not working.

The other thing that I would like to know, is which file makes the call and creates/edits the apache files when a customer signs up for services?? I would also like it create a database user, at the moment I have found that I have to do it manually.