Playing with cd_storage_config file and want to use a new folder on same machine and same drive to store website files when published. currently all files are published to "XYZ" folder and now should be published to "XYZ1" folder
I can see 3 cd_storage_config file in my current environment
- cd_storage_config under bin/config of my web web site ("XYZ") folder, I don't think I need this folder here any more because once I publish a page, cd_storage_config of CD server will be used, I just removed this folder, did a server restart and things are working. Do I still need config files in my web site?
- cd_storage_config under bin/config of CD server, I have changed storage path to "XYZ1"
- cd_storage_config under bin/config of program files, which is currently pointing to "XYZ2" (folder just for testing)
I restarted all services and did IIS reset, When I publish I noticed as expected, "XYZ1" folder has been created on file system with my published files on the path which is defined in CD serer config file.
I did a system restart and publish some more files and noticed this time "XYZ2" has been create, that means it is taking config file under program files into account and if a publish again file will be publish to "XYZ1" folder which is fine.
Why file path defined in config file under program files is being used? Do I need config files in my web site folder?