Heroku Static Site
This is an example for creating your own static sites on Heroku with a minimum of effort.
- Create an
index.phpfile like the one you see here.
- Create a Heroku app (
heroku create -s cedar).
- Commit your
index.phpfile and push it to your Heroku app.
How Does It Work?
Simple. Heroku hosts PHP apps by launching them with their own Apache process inside a dyno. All you have to do is use the
php extension so that Heroku thinks it's just another PHP app.