Hosting suggestions for collaboratively-built, initially-private website
I'm beginning a website development project. The site will be database-driven, and will have at maximum 5-10 developers working on it at any one time. I'm trying to find a way such that all developers can see and test the latest build (including the server-based database functionality), but, until it goes live, access to the "site" is restricted only to developers and testers. Version control would be useful as well, though is not a requirement. I don't currently have a private server on which I could host the project.
My issue is that I don't know of a solution that satisfies all of my requirements. Popular versioning/collaboration options like Github and Google Sites don't appear to support databases. I could go with a hosting service (or build my own server), but I don't know how to restrict access to the site while it's being built. Does anyone have any suggestions?