How to handle multiple domains with CakePHP

Lately, we’ve been working with multiple environments/servers for our websites to be able to have them approved by clients before going live. However, following set up can also work nicely when you develop your sites locally and don’t want to keep changing the configuration every time you upload it. Setting up the database config file So, what changes in your config? Not all that much. Let’s have a look at the default database.