How to host a Git repository on a subdomain with Netlify

How to host a Git repository on a subdomain with Netlify

5 years ago
Anonymous $9jpehmcKty

https://medium.freecodecamp.org/how-to-host-a-git-repository-on-a-subdomain-with-netlify-b8afb5fca96e

Let’s say you have your portfolio, like www.glynlewington.com, hosted on Netlify and want to add your projects onto the same domain. They are all separate git repositories and Netlify is made for hosting from a single repository…but don’t fear! We can host them on subdomains like project.glynlewington.com with just a little work.

Netlify makes it super easy to host your static sites with them for free. I recently moved my portfolio from a VPS over to them, and it’s great that they automatically update your site every time you push to your git repository.