# 403 error forbidden - Updated Faux Pizza site

**URL:** <https://forum.infinityfree.com/t/403-error-forbidden-updated-faux-pizza-site/105982>\
**Category:** Hosting Support\
**Created:** [February 15, 2025, 2:47am UTC](https://forum.infinityfree.com/t/403-error-forbidden-updated-faux-pizza-site/105982 "2025-02-15T02:47:37Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![W1kd3lmnt5](https://forum.infinityfree.com/letter_avatar/w1kd3lmnt5/32/6_449c533f586939b6e5f246632a46421f.png) [@W1kd3lmnt5](https://forum.infinityfree.com/u/W1kd3lmnt5)\
**Post date:** [February 15, 2025, 2:47am UTC](https://forum.infinityfree.com/t/403-error-forbidden-updated-faux-pizza-site/105982/1 "2025-02-15T02:47:37Z")

</div>

### Website URL

[http://willstorey.infinityfreeapp.com/horizontal](http://willstorey.infinityfreeapp.com/horizontal)

### Error Message

# 403 Forbidden

#### Server or website configuration is blocking you from viewing this page

### Other Information

I’m trying to upload my updated website with copied file from my original files with updated code and added style.css for my school assignment but after I uploaded my work, the site redirected to the 403 error. Is there any way to fix this?

---

<div class="post-metadata">

**Author:** ![KangJL](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/kangjl/32/12130_2.png) [@KangJL](https://forum.infinityfree.com/u/KangJL)\
**Post date:** [February 15, 2025, 2:48am UTC](https://forum.infinityfree.com/t/403-error-forbidden-updated-faux-pizza-site/105982/2 "2025-02-15T02:48:25Z")

</div>

> [@W1kd3lmnt5](#):
>
> Is there any way to fix this?

Read on

> [@Redirected to InfinityFree 403 Forbidden page](https://forum.infinityfree.com/t/redirected-to-infinityfree-403-forbidden-page/58664/1):
>
> Getting a 403 error means the server is refusing to show your webpage. Here are the most common causes and how to fix them: 1. Website Files Are in the Wrong Location The Issue: Your domain might be pointing to an empty or non-existent folder. How to Check: Log into your [InfinityFree client area](https://dash.infinityfree.com) Go to Accounts → [Select your account] → Domains → [Find your domain] → Manage Find the Directory Status card, and look at the Directory displayed there Understanding the folder structure: Your fi…

---

<div class="post-metadata">

**Author:** ![W1kd3lmnt5](https://forum.infinityfree.com/letter_avatar/w1kd3lmnt5/32/6_449c533f586939b6e5f246632a46421f.png) [@W1kd3lmnt5](https://forum.infinityfree.com/u/W1kd3lmnt5)\
**Post date:** [February 15, 2025, 3:15am UTC](https://forum.infinityfree.com/t/403-error-forbidden-updated-faux-pizza-site/105982/3 "2025-02-15T03:15:10Z")

</div>

Yeeah … this is isn’t helping at all because my directory is not missing and the file to horizontal does contain the index.html.

---

<div class="post-metadata">

**Author:** ![Meishin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/meishin/32/59902_2.png) [@Meishin](https://forum.infinityfree.com/u/Meishin)\
**Post date:** [February 15, 2025, 3:21am UTC](https://forum.infinityfree.com/t/403-error-forbidden-updated-faux-pizza-site/105982/4 "2025-02-15T03:21:18Z")

</div>

> [@W1kd3lmnt5](#):
>
> does contain the index.html

It does?

Is it exactly `index.html`, or it is just `Index.html`, `index.HTML`, or other things?  
Remember that the servers are case sensitive.

---

<div class="post-metadata">

**Author:** ![W1kd3lmnt5](https://forum.infinityfree.com/letter_avatar/w1kd3lmnt5/32/6_449c533f586939b6e5f246632a46421f.png) [@W1kd3lmnt5](https://forum.infinityfree.com/u/W1kd3lmnt5)\
**Post date:** [February 15, 2025, 3:31am UTC](https://forum.infinityfree.com/t/403-error-forbidden-updated-faux-pizza-site/105982/5 "2025-02-15T03:31:13Z")

</div>

Exactly all lowercase, not a single uppercase. I used notepad++ to ensure it’ll set to lowercase when the files are created/saved.

---

<div class="post-metadata">

**Author:** ![KangJL](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/kangjl/32/12130_2.png) [@KangJL](https://forum.infinityfree.com/u/KangJL)\
**Post date:** [February 15, 2025, 4:03am UTC](https://forum.infinityfree.com/t/403-error-forbidden-updated-faux-pizza-site/105982/6 "2025-02-15T04:03:46Z")

</div>

> [@W1kd3lmnt5](#):
>
> file to horizontal does contain the index.html.

Wrong, I see E404

 ![image](https://forum-cdn.infinityfree.net/original/3X/3/7/37c99767bff573076c6468427eec40b7697e29b6.png)

This should help

> [@Redirected to InfinityFree 404 error page](https://forum.infinityfree.com/t/redirected-to-infinityfree-404-error-page/49355/1):
>
> While working on your website, you may be redirected to the [InfinityFree 404 error page](https://infinityfree.net/errors/404/). This article explains why this typically happens and what you can do to fix this. Why do I get a 404 error When you try to access a file on a website, the server tries to find the matching file to load. By default, it works like this. Suppose you have a website [http://example.com](http://example.com) which is linked to the folder htdocs in your hosting account. If you then try to load a certain URL, like [http://example.com/blo…](http://example.com/blog/images/gallery/photo.jpg)

---

<div class="post-metadata">

**Author:** ![W1kd3lmnt5](https://forum.infinityfree.com/letter_avatar/w1kd3lmnt5/32/6_449c533f586939b6e5f246632a46421f.png) [@W1kd3lmnt5](https://forum.infinityfree.com/u/W1kd3lmnt5)\
**Post date:** [February 15, 2025, 4:54am UTC](https://forum.infinityfree.com/t/403-error-forbidden-updated-faux-pizza-site/105982/7 "2025-02-15T04:54:32Z")

</div>

🤦‍♂️… please disregard my recent posts as I just got the instruction wrong and got my files in proper order in the proper directories. It’s working but the only issue is the font I plugged in is not showing on every computer, only on mine. Is it the css problem or does it need a file for the site to work?

---

<div class="post-metadata">

**Author:** ![Jri-Creator](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/jri-creator/32/65654_2.png) [@Jri-Creator](https://forum.infinityfree.com/u/Jri-Creator)\
**Post date:** [February 15, 2025, 5:00am UTC](https://forum.infinityfree.com/t/403-error-forbidden-updated-faux-pizza-site/105982/8 "2025-02-15T05:00:13Z")

</div>

> [@W1kd3lmnt5](#):
>
> Is it the css problem or does it need a file for the site to work?

Did you upload the font file to the site so that everyone can see it? If it only works on your computer, then only your computer has the font file right now.

---

<div class="post-metadata">

**Author:** ![lovebug](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/lovebug/32/57624_2.png) [@lovebug](https://forum.infinityfree.com/u/lovebug)\
**Post date:** [February 15, 2025, 6:36am UTC](https://forum.infinityfree.com/t/403-error-forbidden-updated-faux-pizza-site/105982/9 "2025-02-15T06:36:53Z")

</div>

The font-family line in your css will not display correctly as browsers will only display websafe fonts as standard

```auto
/* Body styling */
body {
	font-family: Black Pizza;
	background-color: #CFB54F;
}

```

You’ll need to upload the font to your website and do something like this (adjust file/directory names to suit)

```auto
/* My Pizza Font*/
@font-face
{
	font-family: Pizza;
	src: url('Pizza.ttf') format('truetype');
}
/* Body styling */
body {
	font-family: Pizza;
	background-color: #CFB54F;
}

```

Click this link below for more details

> **[W3Schools.com](https://www.w3schools.com/cssref/atrule_font-face.php)**
>
> W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [February 22, 2025, 6:37am UTC](https://forum.infinityfree.com/t/403-error-forbidden-updated-faux-pizza-site/105982/10 "2025-02-22T06:37:12Z")

</div>

Closed on February 22, 2025, 6:37am UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
