How to create portfolio


I lost my job because of crisis at work, so I focus on finishing my full stack webdevelopment course, I hope to finish it this week or next week. 

But my question is… 

How can I create a portfolio in github and place all my sites I create online without buying domain name for each site. 

I mean when people click on my portfolio on a link to another demosite that they actually come at this site.

Is this possible and if som. How do I do that?

Kindly regards 

Patrick De Paepe

1 Like

I’m having trouble following what you think your site organization is, and why domain names would be relevant.  If I’m completely off-base below, you’ll want to clarify what you’re trying to achieve.

[Remember that github only serves static sites: if you want to show off sites which are dynamic, you’re going to need to host elsewhere.]

This is how I’d do it:

I’m going to assume that you have a domain, “”, which is your “portfolio” / “hire me” site. This could of course be “”, i.e. your github page.  This site then has links to your “demo sites”.

Each “demo site” would be the pages for that site. Each site is in your github repo as separate folder sub-trees. So your “portfolio” page has a text label that says (e.g.) “” but it actually is a link to “” [or whatever the actual syntax would be].

As long as each demo site files only use relative links/references (i.e. doesn’t have a reference to “” someplace), I think this should work.