This solution can be applied to many other types of site such as launching soon or coming soon page. The type of site doesn’t matter, the main facility of these sites is that all they have static content with and, optionally, a sign up form.
First of all if you don’t have some specific requirements for the landing page and you are fine with ready solutions you may be interested in ready site builders for the problem.
One of the most famous product is LaunchRock. It has built-in site builder with site templates, which even doesn’t require to know html or css. It even has the sign up form with one field (it is email), all data from the form goes to their back-end. You may see statistic of registered users there, you are able to set your domain for the page.
But when you want to go far away from their site templates you can get to a trap. An example of such issue may be adding a field to the sign up form. You are restricted with their back-end and if you really want to add the field you have to move to your solution. Other problem is in deployment. There is no automating deployment tool. We are developers, so it’s vital thing for us! We want to track our changes in a control version system (mostly GitHub), push there changes and they will have to be fetched by a hosting server automatically.
Hosting and deployment
There are many choices how to setup deployment process of you site. You may buy a shared hosting, virtual private or dedicated server. The same is true for deployment, there are special tools (for example, Capistrano) to automate delivering code to the server and restart web browser to apply it. Also you may do it manually through a FTP or SMB server (hello, PHP!). But to setup the process like this you have to spend time and money for some solutions.
Fortunately, there is GitHub Pages. It’s an instrument which covers a half of work during building a landing page.
- It closes issue with the deployment process. You shouldn’t care about it at all. Just push your changes to git repository and that’s it. The changes will be applied to the site automatically.
- It provides free shared hosting for static sites.
- It works with git. So the desire to have a control version system is satisfied.
- It provides an opportunity to point you domain or subdomain to the web server. More information about this you can find here.
Three points from four are closed with the tool and also one more possible wish to have a custom domain for the site. Not bad for one tool. Also, don’t forget - it’s absolutely free.
You will not see here how to set up a github pages project. It’s other kind of story. Don’t be sad, it’s not hard as it seems. In this article you will see how to do it. Also there is tutorial on the official site.
May be main problem in this solution may be git if you don’t familiar with this. Unfortunately, you can’t use this solution if you don’t know git basics. So if you are in such situation you have two choices: learn git or hire a specialist.
If you are going to gather some information from your visitors, you may be interested in a sign up form. Because GitHub Pages doesn’t allow to do save forms you have to choose a back-end server. Again you have a choice here: you can write it by yourself or use ready third party servers. Writing own server seems good idea but it requires a hosting and time, that’s why it’s not our decision. We choose third party tool, for example it may by Google Forms. If you choose this tool, you will have to use this jquery plugin to save data from your server to the Google remotely.
Choosing MailChimp you get a bonus with sending emails to the visitors. You can create there pretty email templates and save their to your customers. This solution is free but has limitations which you may see on this page.
Choosing GitHub Pages and MailChimp brings us profit if we have to create a site such as landing page or comming soon page with an email sign up form. This is a free solution but requires some knowledge, so it may be not suitable for those people who are not familiar with git, for instance.
This is a working solution. The site is hosted on GitHub Pages and uses MailChimp for sign up forms. Cost of usage - 0$.