How to Create and Host the personal php website on github

Hosting and maintaining the website and server is very difficult, as daily lots of zero day vulnerability discovered which may harm the server.Hosting company also provide the server resources but charges are too high.Some hosting company provide static website hosting for free like Google App Engine,Github etc...Now-a-days google started the support for dynamic website(PHP).



Steps To Host The Dynamic Website On Github 

  1. Create the Account on Free hosting website like 000webhost.com
  2. Verify the Created Account.
  3. Now Log-in and Go to Control Panel.
  4. Go to File Manager and Deploy the Content of website on Public html directory.
  5. Now visit your website by entering the Domain name on browser URL to check the status of site.
  6. Now download and install the HTTrack website copier.
  7. Open the HTTrack and click on next
  8. Provide any name to project In Name field
  9. Provide the directory to project
  10. Submit the URL of website in web address field
  11. Now Create the account on Github and create a new repository.Repository name must end with .github.io
  12. Make the repository Public
  13. Click the green "Set up in Desktop" button.It will start download Github.exe
  14. Now open the GitHub Desktop app ,Click on "Clone" to Save the project files in Computer.
  15. Now Paste the website data in file to your Clone Project folder
  16. Now again launch the "Github for Windows" application
  17. Hit the Sync button and after synchronize Click on "Commit to master" button 
  18. Done
Follow the above steps will allow the user to host php website on github.
Post a comment for qwery or issue in above tutorial