I originally planned to use the local machine on our network as a development server.
Then I had the idea of ββusing a subdomain.
So, if the site was located at www.example.com , then development could be done at dev.example.com .
If I did this, I would know that the entire software package was set up exactly the same for development and production. In addition, development can use the same database as production, eliminating the difficulties of data synchronization. I could use the same media (images, videos, etc.).
I have never heard of anyone else doing this, and with all these professionals, I wonder why not?
What are the disadvantages of this approach?
Update
OK, so it seems that there is no such approach that uses the same database for dev and production. If you choose this from the equation, is that a scary idea?
source share