Hello folks I am back with my new article on how to make a cool portfolio. In this article I will explain all of the steps starting from the creating your portfolio to host it on your personal domain. Sounds interesting ? Yeah !! Let’s do it…
The first step is to create the basic html static web-page, those who are expert in html can easily create it and add some cool css stuff in it.
But I do care about the others who are not handy with html, so you guys can just hit the google to check for some free html portfolio samples and then download it. Next you can open the sample project in any of your favourite editor.
At this stage your are ready to make changes in the sample and paste your own content like your intro, your works, your blogs, etc. This can look something like this-
Since I love android studio so I have used it for editing the project, on the left are my static pages like about-me, index, blogs, services, etc. And in the right you can see how I am making changes to those pages. When you want to review the changes made by you just open the page in any browser and boom..
You can also use Jekyll Theme(Link), these themes are very easy to use and best part is you can easily host it on GitHub.
Till now you are ready with your cool portfolio now all you need to do is to host it somewhere so that everyone can easily access it.
There are hundred of ways to host your website but I will tell you some of the cool and easy to use and of-course free of cost. You can use amazon AWS, google cloud platform, word-press, etc. But for this propose I would recommend you to use the GitHub Pages (Link). GitHub pages is very easy to use all you need to do is to create the name of your repository like username+.github.io and push your project to this repository.
After you push your project to GitHub repository successfully it is hosted now you can use the public link to see your portfolio anywhere the link will be something like (https://+username+.github.io) for example https://yadav-shivam.github.io/
It can look something like this-
This is the final step and of-course a very important step if you want to use your own domain to access your portfolio.
Since the GitHub pages support custom domain feature so it’s not going to be a big trouble for you.
First of all you need to buy a custom domain of your name from GoDaddy(Link), after that there are two key steps to do it.
Open settings page in your GitHub repository and fill the custom domain which you purchased from GoDaddy.
Note: Setting “custom domain” creates a file named CNAME in the same repository. Don’t delete it.
This step is specific to your domain name register (like GoDaddy, Domain.com, Google Domains, etc). All you need to do is set A & CNAME records for the selected domain.
For A record, set 22.214.171.124, 126.96.36.199, 188.8.131.52 and 184.108.40.206. To redirect www subdomain to the original domain, add a CNAME record with your GitHub pages profile URL with a .(dot) in the end, for example, ‘YOUR-GITHUB-USERNAME.github.io.’.
That’s it, both www.your-domain.com and your-domain.com will now go to your selected GitHub pages site (may need to wait up to 24 hours). If you want to see a live example, you may visit my portfolio “shivamyadav.live” hosted via GitHub pages repository ✌️.
Congratulations you are done with creating your beautiful portfolio… Do post your comments or get in touch with me if you need any help.