Publish your websites for free using Git-Hub Pages!

Github-Octocat

If you want to host your static website, so that anyone can see it live then you can use Github Pages! It is an amazing feature available on GitHub.
All you need is a Github account which you can create by signing up at https://github.com. Follow the steps mentioned below.

  1. Open https://github.com on chrome or any other web browser and then click on the “+” icon on the top right corner. And then click on create a new repository.

Now, wait for a few minutes! Your website will be hosted at:

https://{username}.github.io/{repository-name}/

** If you do not upload anything, then by default README file will be hosted.

If you are unable to see your website rename your HTML file to index.html or you can view your website by altering the link like this:

https://{username}.github.io/{repository-name}/{filename}.{extention}

** Replace {username} with your username.
** Replace {repository-name} with your repository name.
** Replace {filename} with your filename.
** Replace {extention} with the extension of your file. For eg- ‘.html’ in the case of website.

Isn’t it easy? Create a website, host it and show your work to the world! Hope this article helped you in some way! Thanks for reading.

--

--

Tech Enthusiast | MAIT’23

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store