# Website behaves differently using netlify URl vs. external domain

**URL:** <https://answers.netlify.com/t/website-behaves-differently-using-netlify-url-vs-external-domain/18932>\
**Category:** Support\
**Tags:** netlify-dns-https-ssl\
**Created:** [July 15, 2020, 4:31pm UTC](https://answers.netlify.com/t/website-behaves-differently-using-netlify-url-vs-external-domain/18932 "2020-07-15T16:31:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![inbl](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/inbl/32/13478_2.png) [@inbl](https://answers.netlify.com/u/inbl)\
**Post date:** [July 15, 2020, 4:31pm UTC](https://answers.netlify.com/t/website-behaves-differently-using-netlify-url-vs-external-domain/18932/1 "2020-07-15T16:31:16Z")

</div>

URL: [https://www.carbonight.net](https://www.carbonight.net)  
Netlify URL: [https://fervent-kowalevski-3cb718.netlify.app](https://fervent-kowalevski-3cb718.netlify.app)

Guide followed: [Configure external DNS for a custom domain | Netlify Docs](https://docs.netlify.com/domains-https/custom-domains/configure-external-dns/#configure-a-subdomain)

* * *

Expected behaviour:

 ![image](https://global.discourse-cdn.com/netlify/original/2X/8/83edafff96e7fb0dc1d8f35579e0117e324e3c19.jpeg)

---

<div class="post-metadata">

**Author:** ![inbl](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/inbl/32/13478_2.png) [@inbl](https://answers.netlify.com/u/inbl)\
**Post date:** [July 15, 2020, 4:32pm UTC](https://answers.netlify.com/t/website-behaves-differently-using-netlify-url-vs-external-domain/18932/2 "2020-07-15T16:32:06Z")

</div>

> [@inbl](#):
>
> URL: [https://www.carbonight.net](https://www.carbonight.net)  
> Netlify URL: [https://fervent-kowalevski-3cb718.netlify.app](https://fervent-kowalevski-3cb718.netlify.app)
> 
> Guide followed: [Configure external DNS for a custom domain | Netlify Docs](https://docs.netlify.com/domains-https/custom-domains/configure-external-dns/#configure-a-subdomain)
> 
> * * *
> 
> Expected behaviour:

* * *

Actual behaviour:

 ![image](https://global.discourse-cdn.com/netlify/original/2X/e/efab960212b333f14ed281870169f4bfa71704c4.jpeg)

---

<div class="post-metadata">

**Author:** ![perry](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/perry/32/16_2.png) [@perry](https://answers.netlify.com/u/perry)\
**Post date:** [July 15, 2020, 5:43pm UTC](https://answers.netlify.com/t/website-behaves-differently-using-netlify-url-vs-external-domain/18932/3 "2020-07-15T17:43:56Z")

</div>

hi there, i see what you are seeing as well.

Taking a look at your developer console

 ![Screen Shot 2020-07-15 at 10.41.47](https://global.discourse-cdn.com/netlify/original/2X/c/c7ecdc96e4c33146fa5ce8e6034f986a69d11e18.png)

it seems like something about how you are requesting that json file is causing the problem. What happens when you don’t request the json file from  
`https://fervent-kowalevski-3cb718.netlify.app/`

and switch the URL to `https://www.carbonight.net/` instead? 🤔

---

<div class="post-metadata">

**Author:** ![inbl](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/inbl/32/13478_2.png) [@inbl](https://answers.netlify.com/u/inbl)\
**Post date:** [July 16, 2020, 4:52pm UTC](https://answers.netlify.com/t/website-behaves-differently-using-netlify-url-vs-external-domain/18932/4 "2020-07-16T16:52:58Z")

</div>

Good catch! I hasn’t crossed my mind. I wonder why I have never run into this issue with any of the other websites hosted on netlify, some of them quite complex. Since the repo is the ground truth and works both locally and on the netlify deployed site, how can I make sure this doesn’t happen?

It seems that the starter is actually just requesting its own pages so during deployment the netlify domain is put in place of the root of the site. How can I ensure it is not the netlify domain but the custom domain?

---

<div class="post-metadata">

**Author:** ![luke](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/luke/32/39_2.png) [@luke](https://answers.netlify.com/u/luke)\
**Post date:** [July 21, 2020, 8:04am UTC](https://answers.netlify.com/t/website-behaves-differently-using-netlify-url-vs-external-domain/18932/5 "2020-07-21T08:04:28Z")

</div>

Hi, @inbl, this is a questions specific to the static site generator used. We support dozens (hundreds?) of different static site generators and I’m personally an expert in exactly zero of them. I know basics about some of them but Nuxt.js is not in my knowledge base at this time.

Our support team is able to answer questions about Netlify but this is a Nuxt.js question and I honestly don’t know the answer.

I no longer see the error. Did you find the solution? If so, would you be willing to please to share that solution here?
