Staging and production configs

What is the best methods for handling dev (localhost), staging (subdomain) and production with Kirby? In the license file I notice there is only one field for domain, so does that mean i’d have to change this constantly?

Am I also right in assuming that multiple configs can be used such as config.mysite.com.php and config.localhost.php - do these get picked up automatically by Kirby or do I need to instruct Kirby when to look at these?

You only need the license on your live website. I always register them before going live (Login | Kirby Hub) and put the file in my config folder and never worry about it.

Am I also right in assuming that multiple configs can be used such as config.mysite.com.php and config.localhost.php - do these get picked up automatically by Kirby or do I need to instruct Kirby when to look at these?

They should get picked up automatically.

Thanks for the clarification! Does the format of the domain in the license file need to contain http:// or www? or will mydomain.co.uk suffice?

From the hub:

I usually enter www.domain.com since we usually force www. on our websites.