How do I set up my ASP?
I've developed a web application in PHP and MySQL. What it does is provide CRM functionality for small to medium sized organizations, plus it's a website builder with database-driven website components. So it's an all-in-one solution: internet, intranet and extranet. Using the software I want to create an Application Service Provider company.I've put all the logic files in directories off the web root. When I want to create an account, all I need to do is create a new directory with files specific to that account (i.e., files to include the logic files, settings, skin template, css, etc.) and create a new mysql database for that account.
Here's my question: I need a webhost to host my application. I want to host domain name and email accounts for my clients, but I don't want them to have FTP access to any of my logic files. How can I do this? Do I become a webhost reseller? But if I do that and use Cpanel or Ensim control panels for each client to measure data transfer and disk space usage, that will prevent their account php files from including my logic files. I wouldn't want to install the whole application for every account because (1) I don't want them to see my code, (2) it would be a nightmare to maintain each installation.
Is it possible to do this: provide my clients an email-only themed control panel, and then put their account directory as a sub directory under my main account and park their domain to that sub directory? I don't really understand about parked domains so if anyone could help shed some light there, that'd be great.
I would really appreciate advice. And if this is possible, I'd appreciate any suggested webhosts that could accomodate my needs.
Another issue: I want to auto-provision accounts as soon as they request an account. So I want my scripts to be able to create mysql databases. Any suggestions? Would this require me to get a dedicated server? Jumpline virtual server?