Example for creating a barebones static site on Heroku
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Heroku Static Site

This is an example for creating your own static sites on Heroku with a minimum of effort.


  1. Create an index.php file like the one you see here.
  2. Create a Heroku app (heroku create -s cedar).
  3. Commit your index.php file 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.


My own static site