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
Another solution is NGROK
https://ngrok.com/
It opens a public tunnel to your local app
Example on my rails application by simply typing
./ngrok 3000
I get
http://630066fe.ngrok.com -> 127.0.0.1:3000