I've always thought that if you have both Production and Test systems, their configurations should be as close as possible. The idea is that you test changes in the Test system before applying them to Production, which works best when both setups are similar. Recently, I ran into a problem with a co-worker who I tasked with transferring the configuration from Test to Prod. Unfortunately, he decided to make changes to the names and contents of various objects to make them clearer. As a result, nothing worked the same way on the Prod system as it did in Test. He doesn't see it as a big issue, claiming that testing can still occur. But to me, if the configurations aren't similar, you're not really testing what you're going to implement. I'm interested to hear what others think about this.
5 Answers
In our experience, we usually have Prod/Test/Dev for critical systems, but sometimes it’s just Prod and Test due to budget constraints. Test environments might even have lower specs to save costs.
You're spot on! The whole reason containerization has taken off, like with Docker, is to ensure that whatever's in the image is consistent, no matter where it's run. Ideally, the Production and Test setups should match as closely as possible. The more they differ, the less reliable your tests become.
Exactly! You want environments that closely mimic each other to ensure thorough testing. It's crucial that the setup is consistent.
I’ve found that shared Test environments can become mini-Production setups, especially when clients are involved. It's led us to create Staging and UAT environments, which can also be problematic because the current state of any environment is often unclear.
I see the issue here: when you manually configure things, it can lead to discrepancies. The goal shouldn’t just be copying Test to Prod, but rather having a reliable deployment method that can be repeated. If there are environment-specific configurations—like different database credentials—that can complicate things.

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures