# Custom Domains in Netlify

**URL:** <https://discourse.sst.dev/t/custom-domains-in-netlify/191>\
**Category:** Chapter Comments\
**Created:** [May 9, 2018, 11:24pm UTC](https://discourse.sst.dev/t/custom-domains-in-netlify/191 "2018-05-09T23:24:39Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![jayair](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/jayair/32/9_2.png) [@jayair](https://discourse.sst.dev/u/jayair)\
**Post date:** [May 9, 2018, 11:24pm UTC](https://discourse.sst.dev/t/custom-domains-in-netlify/191/1 "2018-05-09T23:24:39Z")

</div>

Link to chapter - [https://serverless-stack.com/chapters/custom-domain-in-netlify.html](https://serverless-stack.com/chapters/custom-domain-in-netlify.html)

---

<div class="post-metadata">

**Author:** ![akaila](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/akaila/32/213_2.png) [@akaila](https://discourse.sst.dev/u/akaila)\
**Post date:** [August 23, 2018, 8:47pm UTC](https://discourse.sst.dev/t/custom-domains-in-netlify/191/2 "2018-08-23T20:47:44Z")

</div>

Hi,

How did we arrive at the IP of 104.198.14.52 in the route 53? I think the images were shown after the IPV4 type A record was added.

Thanks in advance,

Ashish

---

<div class="post-metadata">

**Author:** ![jayair](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/jayair/32/9_2.png) [@jayair](https://discourse.sst.dev/u/jayair)\
**Post date:** [August 29, 2018, 6:54pm UTC](https://discourse.sst.dev/t/custom-domains-in-netlify/191/3 "2018-08-29T18:54:45Z")

</div>

That IP is from the Netlify docs on configuring custom domains. Maybe we should add a note to the chapter referencing it.

> **[Custom Domains | Netlify](https://www.netlify.com/docs/custom-domains/)**
>
> Netlify builds, deploys, and hosts your front end. Learn how to get started, see examples, and view documentation for the modern web platform.

---

<div class="post-metadata">

**Author:** ![dsherida](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/dsherida/32/264_2.png) [@dsherida](https://discourse.sst.dev/u/dsherida)\
**Post date:** [October 6, 2018, 9:27pm UTC](https://discourse.sst.dev/t/custom-domains-in-netlify/191/4 "2018-10-06T21:27:28Z")

</div>

This guide breaks down here because the Record Sets that are being created during this step conflict with those created in Part I of this tutorial.

Also, the “Configure SSL” section is no longer possible to complete on Netlify it would seem.

---

<div class="post-metadata">

**Author:** ![jayair](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/jayair/32/9_2.png) [@jayair](https://discourse.sst.dev/u/jayair)\
**Post date:** [October 7, 2018, 12:40am UTC](https://discourse.sst.dev/t/custom-domains-in-netlify/191/5 "2018-10-07T00:40:10Z")

</div>

I’m not sure what you mean by the conflict. But it is entirely up to you if you want both part 1 and part 2 to be separately hosted.

Btw, I just updated the screenshots for the SSL portion. Netlify is doing most of it automatically now!

---

<div class="post-metadata">

**Author:** ![dsherida](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/dsherida/32/264_2.png) [@dsherida](https://discourse.sst.dev/u/dsherida)\
**Post date:** [October 7, 2018, 1:46am UTC](https://discourse.sst.dev/t/custom-domains-in-netlify/191/6 "2018-10-07T01:46:13Z")

</div>

For those who did part 1 and followed it directly into part 2 using the same domain name would have issues with this step. I hope that it’s obvious where the issue would be. If not I can explain further.

---

<div class="post-metadata">

**Author:** ![jayair](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/jayair/32/9_2.png) [@jayair](https://discourse.sst.dev/u/jayair)\
**Post date:** [October 8, 2018, 8:25pm UTC](https://discourse.sst.dev/t/custom-domains-in-netlify/191/7 "2018-10-08T20:25:23Z")

</div>

Yeah I see what you are saying. The domains are up to the user to setup. It depends if you want to host both or override one with the other.

---

<div class="post-metadata">

**Author:** ![tankmurdock](https://avatars.discourse-cdn.com/v4/letter/t/e8c25b/32.png) [@tankmurdock](https://discourse.sst.dev/u/tankmurdock)\
**Post date:** [November 13, 2018, 1:01pm UTC](https://discourse.sst.dev/t/custom-domains-in-netlify/191/8 "2018-11-13T13:01:44Z")

</div>

Yes, I was trying to use my original domain that I created in part one of the lessons and when I try to add the Records sets I am getting errors that they are already there. Do I need to create and buy a new domain name? Or edit the Record sets on the other domain I alreadyhave setup? Just wanted to be clear on this if possibe.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![tankmurdock](https://avatars.discourse-cdn.com/v4/letter/t/e8c25b/32.png) [@tankmurdock](https://discourse.sst.dev/u/tankmurdock)\
**Post date:** [November 13, 2018, 3:09pm UTC](https://discourse.sst.dev/t/custom-domains-in-netlify/191/9 "2018-11-13T15:09:19Z")

</div>

I just figured it out, my url path to the api gateway was incorrect and had a trailing / at the end. I have successful transactions now! Thanks.

---

<div class="post-metadata">

**Author:** ![HannahStahl](https://avatars.discourse-cdn.com/v4/letter/h/ed655f/32.png) [@HannahStahl](https://discourse.sst.dev/u/HannahStahl)\
**Post date:** [December 5, 2018, 5:01pm UTC](https://discourse.sst.dev/t/custom-domains-in-netlify/191/10 "2018-12-05T17:01:52Z")

</div>

What resolution was reached about the domain conflict issue? I have existing record sets that I created in Part 1 of the tutorial for my domain. When I try to create new record sets (A and CNAME), I receive errors saying I cannot do so because record sets with the same DNS name already exist. I was able to partially get around this issue by editing the existing A record set (rather than creating a new one). But the same thing did not work for the CNAME record sets.

---

<div class="post-metadata">

**Author:** ![HannahStahl](https://avatars.discourse-cdn.com/v4/letter/h/ed655f/32.png) [@HannahStahl](https://discourse.sst.dev/u/HannahStahl)\
**Post date:** [December 6, 2018, 3:38pm UTC](https://discourse.sst.dev/t/custom-domains-in-netlify/191/11 "2018-12-06T15:38:43Z")

</div>

I realize now this was kind of a silly question. All you have to do is delete all the record sets and create the two new ones. It might be worth clarifying that in the tutorial though to avoid confusion - i.e. that you have to delete all existing record sets first before creating the new ones.

---

<div class="post-metadata">

**Author:** ![jayair](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/jayair/32/9_2.png) [@jayair](https://discourse.sst.dev/u/jayair)\
**Post date:** [December 7, 2018, 12:14am UTC](https://discourse.sst.dev/t/custom-domains-in-netlify/191/12 "2018-12-07T00:14:22Z")

</div>

Yeah that’s a good point. I’ll add a note to the chapter.

---

<div class="post-metadata">

**Author:** ![mathewgries](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/mathewgries/32/419_2.png) [@mathewgries](https://discourse.sst.dev/u/mathewgries)\
**Post date:** [March 2, 2019, 6:07pm UTC](https://discourse.sst.dev/t/custom-domains-in-netlify/191/13 "2019-03-02T18:07:58Z")

</div>

Any chance we can get these notes added to the chapter. I’m not sure if I need to delete every record set existing here, or just certain ones to set this is up through netlify. I cleared out every listing, including the ones set up through Seed for the api. I get the feeling that may have been a mistake, but I am not sure. This tutorial is one of the best things I have found, but I do agree, there is a little bit of a breakdown in this last part on certain things. Thanks!

---

<div class="post-metadata">

**Author:** ![jayair](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/jayair/32/9_2.png) [@jayair](https://discourse.sst.dev/u/jayair)\
**Post date:** [March 3, 2019, 4:32pm UTC](https://discourse.sst.dev/t/custom-domains-in-netlify/191/14 "2019-03-03T16:32:30Z")

</div>

Yeah I’ll add it in soon.

The tutorial assumes that you are setting up Part 2 separately from Part 1. So if you are using the same domain for your React app as you did in Part 1, then you’ll need to make sure it isn’t pointing to the old CloudFront distribution from Part 1.

---

<div class="post-metadata">

**Author:** ![jayair](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/jayair/32/9_2.png) [@jayair](https://discourse.sst.dev/u/jayair)\
**Post date:** [March 5, 2019, 12:42am UTC](https://discourse.sst.dev/t/custom-domains-in-netlify/191/15 "2019-03-05T00:42:04Z")

</div>

Just added a note to the chapter. Let me know if it makes sense.

> <https://github.com/AnomalyInnovations/serverless-stack-com/commit/3d63a31e9984eaedb12a42b9f8154fb3558108f8>

---

<div class="post-metadata">

**Author:** ![Vlad](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/vlad/32/744_2.png) [@Vlad](https://discourse.sst.dev/u/Vlad)\
**Post date:** [January 25, 2020, 3:45am UTC](https://discourse.sst.dev/t/custom-domains-in-netlify/191/17 "2020-01-25T03:45:07Z")

</div>

Hi everyone,  
Netlify recommends to create a DNS configuration with pointing apex domain using A record to IP address of default subdomain “[example.netlify.com](http://example.netlify.com)”. In the instruction the address 104.198.14.52 is used as an example of the subdomain. But how to get the actual IP number to create this record? I used different tools, such as nslookup, dig, etc., but every time I got different numbers.  
Thank you in advance.

---

<div class="post-metadata">

**Author:** ![jayair](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/jayair/32/9_2.png) [@jayair](https://discourse.sst.dev/u/jayair)\
**Post date:** [January 26, 2020, 6:24pm UTC](https://discourse.sst.dev/t/custom-domains-in-netlify/191/18 "2020-01-26T18:24:11Z")

</div>

Hmm do the steps in this chapter not work for you?

---

<div class="post-metadata">

**Author:** ![Vlad](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/vlad/32/744_2.png) [@Vlad](https://discourse.sst.dev/u/Vlad)\
**Post date:** [January 26, 2020, 6:56pm UTC](https://discourse.sst.dev/t/custom-domains-in-netlify/191/19 "2020-01-26T18:56:44Z")

</div>

It is working fine now.  
I pointed my bare (apex) domain on IP address 104.198.14.52 using record A – not Alias, and now it is working well! I don’t realise why it was not working earlier… It may be because I used record A Alias and pointed on that IP or when I used not Alias I did not wait enough for the record propagation.  
It was confusing for me as I assumed that each bare domain must have its own IP provided by Netlify, but eventually it realised that for Netlify provided just one 104.198.14.52 for everybody.  
Thank you for your feedback and intention to help me.
