TechnologyTechNetlifyProgrammingWeb Hosting How to host a Git repository on a subdomain with Netlify
Glyn Lewington
2 min readMay 23, 2019
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.
Press enter or click to view image in full size Photo by Nicole Y-C on Unsplash
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.
In the past, I had all my personal projects also hosted on subdirectories, e.g. www.glynlewington.com/project . This is either difficult or impossible with Netlify.…