Hi, Raghava
1) Does the configuration under config folder is applied for both author and publish instances? ----- Yes (If no runmode specified.)
- First of all, these node will be created when you update your configurations through system console.
- If you configure one configuration in author instance doesn't mean that it will create node in publish instance. You can make a package and deploy it into publish.
- These are not runmode specific. If you package them on author and deploy into publish instance, then the configuration on the publish instance will be updated with what you have on author. You can make configuration using runmode like config.author, config.publish to apply for specific runmode.
- Without runmode specified the configurations are applied to any environment if they installed through package manager.
2) If yes then how will they we connected?
- Use specific runmode to make different configuration available for publish and author.
Hope this helps.
Thanks,
Vamsi