# How to deploy multiple website on github?

**URL:** <https://forum.codewithmosh.com/t/how-to-deploy-multiple-website-on-github/16620>\
**Category:** Git\
**Created:** [November 23, 2022, 10:32am UTC](https://forum.codewithmosh.com/t/how-to-deploy-multiple-website-on-github/16620 "2022-11-23T10:32:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![YuriAmancio](https://avatars.discourse-cdn.com/v4/letter/y/e47c2d/32.png) [@YuriAmancio](https://forum.codewithmosh.com/u/YuriAmancio)\
**Post date:** [November 23, 2022, 10:32am UTC](https://forum.codewithmosh.com/t/how-to-deploy-multiple-website-on-github/16620/1 "2022-11-23T10:32:49Z")

</div>

Hi everyone,

anyone knows how to deploy multiple websites using github?  
I managed only to deploy one version using my username as the website host domain:  
[username.github.io](http://username.github.io)

but whenever I try to deploy another one (ie. [username2.github.io](http://username2.github.io)) it doesn’t work.  
Thanks

---

<div class="post-metadata">

**Author:** ![UniqueNospaceShort](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/uniquenospaceshort/32/1814_2.png) [@UniqueNospaceShort](https://forum.codewithmosh.com/u/UniqueNospaceShort)\
**Post date:** [November 24, 2022, 9:15pm UTC](https://forum.codewithmosh.com/t/how-to-deploy-multiple-website-on-github/16620/2 "2022-11-24T21:15:34Z")

</div>

Hi.  
I am not sure to understand. What prevents the same code to work on one account but not on another ?  
What it is you are trying to do ?

My guess would be you want to push to 2 repos.  
you can add remotes with git tools but also with the `git remote command`

`git remote add {remoteName} {remoteUrl}`

Then you can pick which remote to push to `git push origin master`  
Then you can pick which remote to push to `git push otherRemote master`

---

<div class="post-metadata">

**Author:** ![YuriAmancio](https://avatars.discourse-cdn.com/v4/letter/y/e47c2d/32.png) [@YuriAmancio](https://forum.codewithmosh.com/u/YuriAmancio)\
**Post date:** [December 6, 2022, 6:06pm UTC](https://forum.codewithmosh.com/t/how-to-deploy-multiple-website-on-github/16620/3 "2022-12-06T18:06:15Z")

</div>

Hi.  
I’ve launched a webpage on github ([yuriamancio.github.io](http://yuriamancio.github.io))  
but I would like to launch a new one (for example: [yuriamancio2.github.io](http://yuriamancio2.github.io)), but that doesn’t seem possible!  
I’m just on HTML/CSS and haven’t done the github course yet.
