Trialforce – Create a custom signup using Sites

There does not seem to much documentation online about this so I thought I would post how you can allow either potential customers or internal employees can create a trial/demo org via a web signup page. This page is hosted on Salesforce using sites. When you create the Visualforce page and controller below – [...]