# First time hosting a website

**URL:** <https://forum.freecodecamp.org/t/first-time-hosting-a-website/185448>\
**Category:** General\
**Created:** [April 13, 2018, 1:43pm UTC](https://forum.freecodecamp.org/t/first-time-hosting-a-website/185448 "2018-04-13T13:43:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![hadrienallemon](https://avatars.discourse-cdn.com/v4/letter/h/4491bb/32.png) [@hadrienallemon](https://forum.freecodecamp.org/u/hadrienallemon)\
**Post date:** [April 13, 2018, 1:43pm UTC](https://forum.freecodecamp.org/t/first-time-hosting-a-website/185448/1 "2018-04-13T13:43:59Z")

</div>

Hello everyone ! For the first time I tried to host a website via a github page however I cannot seem to get my page to work : for some reason the CSS file isn’t loading, and I keep getting the error “GET [https://hadrienallemon.github.io/css/style.css](https://hadrienallemon.github.io/css/style.css) net::ERR\_ABORTED”

It is the first time i’m acutally hosting a website, so i’m not sure what i’m doing wrong.

The main file containes the index.html and 3 files containing the css sheet, the javascript file and the images for the website, named respectively “css”,“js”,“img”, and here’s my index.html file :

```auto
<!DOCTYPE HTML>
<html>
  <head>
    <title>TIC TAC TOE</title>
    <link href="/css/style.css" rel="stylesheet" type="text/css" />
  </head>
  <body>
    <link href="https://fonts.googleapis.com/css?family=Gaegu" rel="stylesheet">
    <div class="main">
    <canvas></canvas>
      <div class="wrapper">
        <div class="outer"> 
       	  <div class= "winBox">
		    <p><span class="winner"></span> Wins !!</p>
	      </div>
	      <div class = "character">
	  
	      <div class = "ptext" style="width : 100%;">
		  <p>Choose your Character ! </p>
	      </div>
		  <canvas></canvas>
		  <canvas></canvas>
	    </div>
        <table id="tb">
        </table>
      </div>
    <button class="reset">reset</button>
  </div>
</div>

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>  
<script src = '/JS/tictactoeScript.js'></script>  

</body>
</html>

```

I really don’t know what do to 😕 Any help would be appreciated ! Thanks a lot !

---

<div class="post-metadata">

**Author:** ![honmanyau](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/honmanyau/32/45787_2.png) [@honmanyau](https://forum.freecodecamp.org/u/honmanyau)\
**Post date:** [April 13, 2018, 1:50pm UTC](https://forum.freecodecamp.org/t/first-time-hosting-a-website/185448/2 "2018-04-13T13:50:51Z")

</div>

> [@hadrienallemon](#):
>
> [https://hadrienallemon.github.io/css/style.css](https://hadrienallemon.github.io/css/style.css)

The path is case sensitive! I hope that helps! 😄

[`https://hadrienallemon.github.io/CSS/style.css`](https://hadrienallemon.github.io/CSS/style.css)

---

<div class="post-metadata">

**Author:** ![hadrienallemon](https://avatars.discourse-cdn.com/v4/letter/h/4491bb/32.png) [@hadrienallemon](https://forum.freecodecamp.org/u/hadrienallemon)\
**Post date:** [April 13, 2018, 2:12pm UTC](https://forum.freecodecamp.org/t/first-time-hosting-a-website/185448/3 "2018-04-13T14:12:32Z")

</div>

I feel so stupid right now --"

Thanks a bunch ! It’s weird the case is sensitive when hosted but not when launched from the desktop :o You saved me hours of looking around \<3

---

<div class="post-metadata">

**Author:** ![IsaacAbrahamson](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/isaacabrahamson/32/30882_2.png) [@IsaacAbrahamson](https://forum.freecodecamp.org/u/IsaacAbrahamson)\
**Post date:** [April 13, 2018, 2:18pm UTC](https://forum.freecodecamp.org/t/first-time-hosting-a-website/185448/4 "2018-04-13T14:18:48Z")

</div>

> [@hadrienallemon](#):
>
> It’s weird the case is sensitive when hosted but not when launched from the desktop

When you open your file from the desktop, you aren’t really visiting a URL, so it’s not case sensitive. Opening a file on your computer in your browser loads all the files like it would if you typed it into your file system. Your computer’s file system probably isn’t case sensitive, so for example if you open `C:\PROGRAM Files` that will be the exact same thing as `C:\Program Files`.

URL’s are case sensitive. If you were running a web server locally, then you would have to have exact URL matches. `http://localhost/css/style.css` would not work even though you are still on your own computer. But again, when you are just viewing a file in the browser, you aren’t really using a URL so I believe it follows file system rules.

---

<div class="post-metadata">

**Author:** ![owel](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/owel/32/48425_2.png) [@owel](https://forum.freecodecamp.org/u/owel)\
**Post date:** [April 13, 2018, 3:01pm UTC](https://forum.freecodecamp.org/t/first-time-hosting-a-website/185448/5 "2018-04-13T15:01:34Z")

</div>

> [@hadrienallemon](#):
>
> It’s weird the case is sensitive when hosted but not when launched from the desktop

If a site is hosted on a **Linux** server, filenames/paths will be case sensitive.

If hosted on a **Windows** server, it’s NOT case sensitive.

---

<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:23pm UTC](https://forum.freecodecamp.org/t/first-time-hosting-a-website/185448/6 "2021-01-17T20:23:26Z")

</div>

Closed on January 17, 2021, 8:23pm UTC


