title: Any reason NOT to use subdomain for development?
body: <p>I was originally planning on using a local machine on our network as the development server.</p>
  <p>Then I had the idea of using a subdomain.</p>
  <p>So if the site was at <code>www.example.com</code> then the development could be done at <code>dev.example.com</code>.</p>
  <p>If I did this, I would know that the entire software stack was configured exactly the same for development and production. Also development could use the same database as production removing the hassle of syncing the data. I could even use the same media (images, videos, etc.)</p>
  <p>I have never heard of anyone else doing this, and with all these pros I am wondering why not?</p>
  <p>What are the cons to this approach?</p>
  <hr />
  <h2>Update</h2>
  <p>OK, so its seems the major no no of this approach is using the same DB for dev and production. If you take that out of the equation, is it still a terrible idea?</p>