# Ngas.github.io/index.html

**URL:** <https://forum.freecodecamp.org/t/ngas-github-io-index-html/113001>\
**Category:** General\
**Created:** [May 7, 2017, 5:41am UTC](https://forum.freecodecamp.org/t/ngas-github-io-index-html/113001 "2017-05-07T05:41:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ngas-wakefield](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ngas-wakefield/32/71134_2.png) [@ngas-wakefield](https://forum.freecodecamp.org/u/ngas-wakefield)\
**Post date:** [May 7, 2017, 5:41am UTC](https://forum.freecodecamp.org/t/ngas-github-io-index-html/113001/1 "2017-05-07T05:41:10Z")

</div>

i cant seem to get my github website to work, its showing 404?

---

<div class="post-metadata">

**Author:** ![Varunram](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/varunram/32/51209_2.png) [@Varunram](https://forum.freecodecamp.org/u/Varunram)\
**Post date:** [May 7, 2017, 7:07am UTC](https://forum.freecodecamp.org/t/ngas-github-io-index-html/113001/2 "2017-05-07T07:07:42Z")

</div>

That’s because you don’t have a GitHub repo for your page yet. Check out [https://guides.github.com/features/pages/](https://guides.github.com/features/pages/) for how to get going with your website

---

<div class="post-metadata">

**Author:** ![ngas-wakefield](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ngas-wakefield/32/71134_2.png) [@ngas-wakefield](https://forum.freecodecamp.org/u/ngas-wakefield)\
**Post date:** [May 7, 2017, 7:11am UTC](https://forum.freecodecamp.org/t/ngas-github-io-index-html/113001/3 "2017-05-07T07:11:03Z")

</div>

it seems to work here [https://ngas-wakefield.github.io/ngas.github.io/](https://ngas-wakefield.github.io/ngas.github.io/)  
but i only want it as [ngas.github.io](http://ngas.github.io)

---

<div class="post-metadata">

**Author:** ![Varunram](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/varunram/32/51209_2.png) [@Varunram](https://forum.freecodecamp.org/u/Varunram)\
**Post date:** [May 7, 2017, 7:41am UTC](https://forum.freecodecamp.org/t/ngas-github-io-index-html/113001/4 "2017-05-07T07:41:48Z")

</div>

Alright, I got your problem. You’d need to rename your repo [here](https://github.com/ngas-wakefield/ngas.github.io) to [ngas-wakefield.github.io](http://ngas-wakefield.github.io) because Github only allows `username.github.io` where username is your GitHub username. To quote Github’s documentation for the same,

> If the first part of the repository doesn’t exactly match your username, it won’t work, so make sure to get it right.

---

<div class="post-metadata">

**Author:** ![ngas-wakefield](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ngas-wakefield/32/71134_2.png) [@ngas-wakefield](https://forum.freecodecamp.org/u/ngas-wakefield)\
**Post date:** [May 7, 2017, 7:44am UTC](https://forum.freecodecamp.org/t/ngas-github-io-index-html/113001/5 "2017-05-07T07:44:22Z")

</div>

thank you it’s working now!

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 17, 2021, 8:56pm UTC](https://forum.freecodecamp.org/t/ngas-github-io-index-html/113001/6 "2021-01-17T20:56:52Z")

</div>


