# Static Website Displays As Code (SOLVED)

**URL:** https://discuss.ipfs.tech/t/static-website-displays-as-code-solved/5394
**Category:** Help
**Created:** [May 12, 2019, 12:27pm UTC](https://discuss.ipfs.tech/t/static-website-displays-as-code-solved/5394 "2019-05-12T12:27:27Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![nclay](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/nclay/32/2306_2.png) [@nclay](https://discuss.ipfs.tech/u/nclay)
#### Post date: [May 12, 2019, 12:27pm UTC](https://discuss.ipfs.tech/t/static-website-displays-as-code-solved/5394/1 "2019-05-12T12:27:27Z")

</div>

Hey there! I’m very new to using IPFS - recently decided to duplicate my website using ENS + IPFS to see what the process was like. Everything went great until I pulled up the hash of my index.html file and no matter what I do it always seems to just pull up the file’s source code. I’m very confused and would greatly appreciate some help. It seems like I’m so close to having this done!

EDIT/SOLVED: The issue was that I was using the hash of the index.html file, but I should have been using the hash of the directory folder that the index.html file was in. Corrected this and it’s working as anticipated. 🙂
