Typically I develop my websites on trunk, then merge changes to a testing branch where they are put on a \'beta\' website, and then finally they are merged onto a live branc
You'll have to add both trunk and test versions as different applications and test them using test accounts. You may also use a single application and switch its target URL between cycles.