Now a days in order to create website most people rely on hosting platforms or content management systems like Blogger and WordPress over there you will get alot of features and options to customize and publish your website as you like but most reliable hosting platforms require money to host your website.

Even though there are some hosting platforms like Bytehost and Infinity Free and content management platforms like Blogger and WordPress etc provide free services yet there are few necessary features missing that are required by Geeks and developers so they usually prefer Github or GitLab to host static websites or blogs for free.


GitLab is most popular platform for developers after Github where you'll get tools and amazing features to automate development of software easily, and by using GitLab you can also host static website even though the process is little different to GitHub.

On GitLab you can create public repositories for open source projects so that anyone on internet can contribute to your project including that you can also create private repositories for yourself or team just like GitHub, anyway now we are going to create public repository to host static website on GitLab, so do you like it? are you ready? If yes let's get started.

• GitLab official support •


Website : Gitlab.com

• How to create a static website using GitLab pages •


- Go to GitLab Signup and create account using available options.

- Tap on Accept terms

- Tap on Create blank project

- Enter Project name, Project slug and then scroll down.

- Select Public then Tap on Create project


- Scroll down then tap on Upload File

- Select your .html file from storage then tap on Upload file.

- Now open your file manager, I suggest Mixplorer and create .TXT file named .gitlab-ci.yml and edit it.

- Copy CI code from github-pages-setup and paste it in -gitlab-ci.yml TXT file then save it.

- Once done Go back to GitLab then tap on Upload File

- Select your .gitlab-ci.yml file from storage then tap on Upload file

- That's it, you successfully created and deployed static website on GitLab but you should validate your account using credit or debit card to run pipelines.

- YAY, once you validate your account go to yourgitlabusername.github.com/your.html to check your static website.

Atlast, this are just highlighted features of GitLab there may be many hidden features in-build that provides you external benefits to give the ultimate usage experience, if you want one of the best free and reliable platform to host your static websites or blog then GitLab pages is worthy choice..


Overall, it is very easy to create website on Github through GitHub pages due to simple and clean interface that ensures user friendly experience, but in any project there is always space for improvement so let's wait and see will GitLab get any major changes in future to make it even better as now it's cool.

Moreover, it is definitely worth to mention you can also create Jekyll and hexo websites etc with custom domain support and free SSL and TLS certification on GitLab pages using this guide, yes indeed if you're searching for such platform then GitLab has potential to become your new favourite choice for sure.

Finally, this is GitHub pages a Integration of GitLab to create websites or blogs for free, are you an existing user of GitLab pages? If yes do say your experience and mention which feature of GitLab pages you like the most in our comment section below, see ya :)