Back to lesson
1. Why do we need to host our site with a service like Heroku?
Because the server that our C9 workspace uses is not powerful enough to act as a real web hosting solution.
For SEO purposes.
Because Heroku is free.
2. Why do we rename our index.html file to index.php?
For hosting reasons.
So the page loads quicker.
Heroku requires .php file extensions for the index page.
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