# Discourse site loads via IP but via domain only header

**URL:** <https://meta.discourse.org/t/discourse-site-loads-via-ip-but-via-domain-only-header/104564>\
**Category:** Product Support\
**Created:** [December 18, 2018, 3:14pm UTC](https://meta.discourse.org/t/discourse-site-loads-via-ip-but-via-domain-only-header/104564 "2018-12-18T15:14:23Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)\
**Post date:** [December 20, 2018, 9:32pm UTC](https://meta.discourse.org/t/discourse-site-loads-via-ip-but-via-domain-only-header/104564/16 "2018-12-20T21:32:16Z")

</div>

After looking at the `.js` file in question, I see that it’s truncated and my browser is throwing networking errors to the console.

This is probably caused by using CloudFlare - we have seen [enough problems](https://meta.discourse.org/search?q=cloudflare) using CloudFlare that we recommend disabling it entirely if possible.

This particular error seems to be on CloudFlare’s end as my browser also threw various non-source related errors downloading the file such as:

```plaintext
GET https://forum.example.com/assets/ember_jquery-07f49b58317ea9292d939348ec0091eb50a9d8aaabd9e86cc074ef5f049918aa.js net::ERR_SPDY_PROTOCOL_ERROR 200

```

And it even errored on the command line:

```plaintext
○ → wget https://forum.example.com/assets/ember_jquery-07f49b58317ea9292d939348ec0091eb50a9d8aaabd9e86cc074ef5f049918aa.js
--2018-12-20 16:30:10-- https://forum.example.com/assets/ember_jquery-07f49b58317ea9292d939348ec0091eb50a9d8aaabd9e86cc074ef5f049918aa.js
Resolving forum.example.com (forum.example.com)... 104.18.37.128, 104.18.36.128
Connecting to forum.example.com (forum.example.com)|104.18.37.128|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/javascript]
Saving to: ‘ember_jquery-07f49b58317ea9292d939348ec0091eb50a9d8aaabd9e86cc074ef5f049918aa.js’

ember_jquery-07f49b [<=>] 160.87K --.-KB/s in 0.03s   

2018-12-20 16:30:11 (4.62 MB/s) - Read error at byte 164729 (Success).Retrying.

--2018-12-20 16:30:12-- (try: 2) https://forum.example.com/assets/ember_jquery-07f49b58317ea9292d939348ec0091eb50a9d8aaabd9e86cc074ef5f049918aa.js
Connecting to forum.example.com (forum.example.com)|104.18.37.128|:443... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

    The file is already fully retrieved; nothing to do.

```

I would recommend disabling CloudFlare entirely here if possible; if not, search meta for recommendations on disabling all of CloudFlare’s optimizations.

---

_[View the full topic](https://meta.discourse.org/t/discourse-site-loads-via-ip-but-via-domain-only-header/104564)._
