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?
Patrick De Paepe
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, "DePaepe.org", which is your "portfolio" / "hire me" site. This could of course be "DePaepe.github.io", 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.) "FancyShoppingSite.com" but it actually is a link to "DePaepe.github.io/FancyShoppingDemo.html" [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 "FancyShoppingSite.com" someplace), I think this should work.
Please follow-up to let us know how you made out. For good karma, mark a reply as the answer if it helped!