[eluser]cmgmyr[/eluser]
No problem at all, this is what forums are for
For the database, as long as you design them correctly, they are very fast. When you make your additional tables make sure you add an INDEX to your domain_id, client_id, or what ever ID name that you are using. There are a number of other things you can do to optimize your database but that will give you a good start. By adding indexes it will make your queries faster with that much data.
Yes, I have multiple domain names pointed to the same application. Everything is running from the same spot. In my config.php file I have:
Code:
$config['base_url'] = "http://". $_SERVER["HTTP_HOST"];
to make sure I get the actual domain and don't have to set it manually.
I have made a "startup" library that runs a few queries to get the data for the specific domain:
1. Get the current domain name (base_url)
2. Get the domain_id from the database
3. Get all config information for that ID
You might also need to make specific templates for each domain, but once you have the ID from the database you will be able to use that for many purposes. There are MANY more thing that I had to do in order to get this to work for my purposes, but this should get you to a starting point. You can also do a Google search for "codeigniter multiple domains" and find additional resources.
If you have any other questions, please let me know.
-Chris