top of page
Programming

Create a stunning portfolio website with your own website name from scratch within 1 hour

Hey Guys! Check out my website at www.gourav-dhar.com

At the end of this blog you will have a hosted website similar to mine. So let’s start. Breaking down the entire process into pieces we will need:

  1. A working website

  2. Get a custom Domain Name (Optional, required only if you want to host it using your website name)

  3. A server to host our website


A working website

You will need to have a project for your website. It can be a simple static website using html/css or a reactive website using react/angular etc.


If you are not a web developer and don’t understand whatever is written above or you don’t want to go through the lengthy process of designing and developing your website, it’s fine. You can download a template of the website from the link below and edit it with your details.

This website has a lot of free and paid designs which you can browse through and download. https://startbootstrap.com/themes/portfolio-resume


Download the website, unzip it. Make your changes in the index.html file. Open the index.html file and it should open the website in your browser.


Get a Custom Domain Name

This is an optional step. If you want the website to be hosted under your desired website name you need to do it. The process is simple,

  1. go to any “Domain Registrar” website -> create an account

  2. search for the availability for the website you are looking for

  3. purchase from the available list of options

I purchased my domain name from GoDaddy. The UI looks something like this.


It will list the price and per-year charges. The price of certain domains are way higher because GoDaddy categorises it as premium by some of it’s internal metrics. I purchased gourav-dhar.com and had to pay around Rs.3000/- for two years.


A server to host our website

There are free and paid services available for this. Github allows us to host pages using custom domain name and it is free, so I decided to go with github. Assuming your page won’t have a lot of traffic, it is safe to use github’s server.  The limits mentioned by github(as of today) are:

  1. Published GitHub Pages sites may be no larger than 1 GB.

  2. GitHub Pages sites have a soft bandwidth limit of 100GB per month.

  3. GitHub Pages sites have a soft limit of 10 builds per hour.

As a first step, create an account in Github.

  1. After logging in click on the top right on your profile icon — > “Your Repositories”

  2. In the page, click on New and you should see something like this


  1. Enter ‘Repository name’ in the following format {github-username}.github.io and click on Create Repository

  2. After this you Repository will open where you need to uplaod your project files from the first step.

  3. Wait for 2–3 minutes and Voila! Your website is live on https://{github-username}.github.io


Adding Custom Domain in github pages

  1. Goto your repository and open the Settings tab. Click on the Pages button on the left pane. A page similar to this should be visible


  1. Enter your domain name or sub-domain name(whatever you prefer) under the custom domain. And click on save. Github will verify it with the ISP.

  2. For the verification to be successful we will need to add an entry to map the github.io page with our domain/sub-domain in the `DNS Management` settings of our domain. To do this open GoDaddy(or any other platform where you might have purchased your domain). Click on My Products → Domain →DNS Management


  1. Click on `Add`, fill in the details as shown. You can either use CNAME or A as record type. Enter the value as your github.io link and add record. This entire process takes around 1 minute to take effect, but in worst case it can also take about a day or two.

And here you go. Your website has been published.


References

0 comments

Comments


Related Articles

Categories

Let's Get
Social

  • alt.text.label.Twitter
  • alt.text.label.LinkedIn
  • 25231
Subscribe to our NewsLetter

Join our mailing list to get a notification whenever a new blog is published. Don't worry we will not spam you.

bottom of page