# S3 not working after accidentally changing back google NS

**URL:** <https://awshq.com/t/s3-not-working-after-accidentally-changing-back-google-ns/7949>\
**Category:** AWS Storage Discussion\
**Tags:** cloudfront, route53, s3\
**Created:** [March 16, 2019, 8:34pm UTC](https://awshq.com/t/s3-not-working-after-accidentally-changing-back-google-ns/7949 "2019-03-16T20:34:33Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![mateorandulfe](https://awshq.com/letter_avatar_proxy/v4/letter/m/c67d28/32.png) [@mateorandulfe](https://awshq.com/u/mateorandulfe)\
**Post date:** [March 16, 2019, 8:34pm UTC](https://awshq.com/t/s3-not-working-after-accidentally-changing-back-google-ns/7949/1 "2019-03-16T20:34:33Z")

</div>

Hi everyone!

So I had an angular app working in S3 with cloudfront and route 53 connected to my google domain. The issue was when my colleague accidentally removed the AWS NS in google. I restored them back but the page wasnt loading. Any hint on how to solve this?

* * *

**Related discussions:**

- [AWS Free Tier shows as “Expired” for newly created account , is this normal?](https://awshq.com/t/aws-free-tier-shows-as-expired-for-newly-created-account-is-this-normal/20494)
- [Need help figuring out why my transfer out is so expensive](https://awshq.com/t/need-help-figuring-out-why-my-transfer-out-is-so-expensive/20521)
- [I have a domain registered with Route 53 and an S3 bucket configured as a static website, but when I try to access my website nothing is there.](https://awshq.com/t/i-have-a-domain-registered-with-route-53-and-an-s3-bucket-configured-as-a-static-website-but-when-i-try-to-access-my-website-nothing-is-there/6055)
- [AWS experts, what are the most popular services?](https://awshq.com/t/aws-experts-what-are-the-most-popular-services/20043)
- [Serverless with HIPAA and VPC](https://awshq.com/t/serverless-with-hipaa-and-vpc/21445)

---

<div class="post-metadata">

**Author:** ![silvanio](https://awshq.com/letter_avatar_proxy/v4/letter/s/df705f/32.png) [@silvanio](https://awshq.com/u/silvanio)\
**Post date:** [March 16, 2019, 8:55pm UTC](https://awshq.com/t/s3-not-working-after-accidentally-changing-back-google-ns/7949/2 "2019-03-16T20:55:36Z")

</div>

I’d look into what your DNS TTL is.

Additionally if you adjust your hosts file locally, does the site then work as expected?

---

<div class="post-metadata">

**Author:** ![mateorandulfe](https://awshq.com/letter_avatar_proxy/v4/letter/m/c67d28/32.png) [@mateorandulfe](https://awshq.com/u/mateorandulfe)\
**Post date:** [March 16, 2019, 9:09pm UTC](https://awshq.com/t/s3-not-working-after-accidentally-changing-back-google-ns/7949/3 "2019-03-16T21:09:43Z")

</div>

> [@silvanio](#):
>
> I’d look into what your DNS TTL is. Additionally if you adjust your hosts file locally, does the site then work as expected?

My tttl is 2 days

Yeah this is the thing. My laptop fell yesterday and I think I have lost my progress as internal disk D: is not responding (taking laptop to check tomorrow). So basically the only thing I have got from my app is the dist folder I deployed. :((

---

<div class="post-metadata">

**Author:** ![burgonies](https://awshq.com/letter_avatar_proxy/v4/letter/b/7ba0ec/32.png) [@burgonies](https://awshq.com/u/burgonies)\
**Post date:** [March 16, 2019, 10:58pm UTC](https://awshq.com/t/s3-not-working-after-accidentally-changing-back-google-ns/7949/4 "2019-03-16T22:58:32Z")

</div>

There’s basically you can do now. As was mentioned above, the TTL being set super low would have helped, but it would need to be done ahead of time.

---

<div class="post-metadata">

**Author:** ![mateorandulfe](https://awshq.com/letter_avatar_proxy/v4/letter/m/c67d28/32.png) [@mateorandulfe](https://awshq.com/u/mateorandulfe)\
**Post date:** [March 16, 2019, 11:07pm UTC](https://awshq.com/t/s3-not-working-after-accidentally-changing-back-google-ns/7949/5 "2019-03-16T23:07:57Z")

</div>

> [@burgonies](#):
>
> There’s basically you can do now. As was mentioned above, the TTL being set super low would have helped, but it would need to be done ahead of time.

Yes it just took time, thank you for your advise Haha. I panicked too early

---

<div class="post-metadata">

**Author:** ![ShafeNutS](https://awshq.com/letter_avatar_proxy/v4/letter/s/e9c0ed/32.png) [@ShafeNutS](https://awshq.com/u/ShafeNutS)\
**Post date:** [March 16, 2019, 11:09pm UTC](https://awshq.com/t/s3-not-working-after-accidentally-changing-back-google-ns/7949/6 "2019-03-16T23:09:01Z")

</div>

Just copy the records from your aws zone to google dns and if people have cached google as your authoritative dns then they will still get the right answer.

On a side note, if you are new in tech LEARN DNS. Really really understand exactly how it works and you will be miles ahead of the curve. Too many people in IT have a faint idea how dns works and to be honest it is the culprit of so many issues.

---

<div class="post-metadata">

**Author:** ![jsdfkljdsafdsu980p](https://awshq.com/letter_avatar_proxy/v4/letter/j/8edcca/32.png) [@jsdfkljdsafdsu980p](https://awshq.com/u/jsdfkljdsafdsu980p)\
**Post date:** [March 17, 2019, 3:33am UTC](https://awshq.com/t/s3-not-working-after-accidentally-changing-back-google-ns/7949/7 "2019-03-17T03:33:54Z")

</div>

> [@mateorandulfe](#):
>
> My tttl is 2 days Yeah this is the thing. My laptop fell yesterday and I think I have lost my progress as internal disk D: is not responding (taking laptop to check tomorrow). So basically the only thing I have got from …

Wait… No git repo? LMFAO you dun fucked up

---

<div class="post-metadata">

**Author:** ![mateorandulfe](https://awshq.com/letter_avatar_proxy/v4/letter/m/c67d28/32.png) [@mateorandulfe](https://awshq.com/u/mateorandulfe)\
**Post date:** [March 17, 2019, 9:41am UTC](https://awshq.com/t/s3-not-working-after-accidentally-changing-back-google-ns/7949/8 "2019-03-17T09:41:31Z")

</div>

> [@jsdfkljdsafdsu980p](#):
>
> Wait… No git repo? LMFAO you dun fucked up

Well I did have a git repo. But I was so idiot that I also stored it on that drive. XD

---

<div class="post-metadata">

**Author:** ![mateorandulfe](https://awshq.com/letter_avatar_proxy/v4/letter/m/c67d28/32.png) [@mateorandulfe](https://awshq.com/u/mateorandulfe)\
**Post date:** [March 17, 2019, 9:43am UTC](https://awshq.com/t/s3-not-working-after-accidentally-changing-back-google-ns/7949/9 "2019-03-17T09:43:00Z")

</div>

> [@ShafeNutS](#):
>
> Just copy the records from your aws zone to google dns and if people have cached google as your authoritative dns then they will still get the right answer. On a side note, if you are new in tech LEARN DNS. Really …

Yeah sounds good. I did have an idea of how DNs work but I didn’t know there could be more around it to be learned. Any idea where to start? Haha
