DEV Community

Discussion on: Host portfolio site on GitHub pages and add custom domain

Collapse
 
deni404 profile image
Deni Toshevski

How do you update your website if for example you want to make some changes like add new projects or change the layout perhaps?

Collapse
 
thomasstep profile image
Thomas Step

If your site is hosted on GitHub you can just commit your changes to the repo that your site is hosted from. The commit will be built (if you're using Jekyll) and served at your domain.

Collapse
 
deni404 profile image
Deni Toshevski

What if the site is hosted on for example namecheap or similar?

Thread Thread
 
zavrelj profile image
Jan Zavrel

Why would you host your static website on a paid web hosting if you can host it on GitHub for free? It’s a brave new world out there called JAM-stack which suddenly makes the old database-driven approach obsolete.

Thread Thread
 
nabendu82 profile image
Nabendu

Hi Deni,
The site is not hosted on namecheap but on github. Namecheap is a domain registration site. Earlier my site was hosted for free on nabendu82.github.io/ . So, as you can see the cost of free is to add github.io at the end of my site.
But now i just purchased the domain nabendu.me from namecheap for $4.18 per year and just used the process in blog to change the custom domain in github.
Thanks

Thread Thread
 
deni404 profile image
Deni Toshevski

Thank you for explaining that to me. I wanted to know if I could have a website that's hosted on github but have the domain like abc.com for example.

Thread Thread
 
nabendu82 profile image
Nabendu

Yes Deni. I did exactly the same thing.