Back to lesson
1. Why do we need to host our site with a service like Heroku?
Because Heroku is free.
Because the server that our C9 workspace uses is not powerful enough to act as a real web hosting solution.
For SEO purposes.
2. Why do we rename our index.html file to index.php?
Heroku requires .php file extensions for the index page.
For hosting reasons.
So the page loads quicker.
3. What is the command to push our code to Heroku?
git push heroku master
Back to the top
© 2017 GoSkills Ltd.
Skills for career advancement