# שם DNS אבד, צריך לשנות לאחד חדש

**URL:** https://meta.discourse.org/t/lost-dns-name-need-to-change-to-a-new-one/218574
**Category:** Self-hosting
**Created:** [17 בפברואר,‏ 2022,‏ 5:26pm UTC](https://meta.discourse.org/t/lost-dns-name-need-to-change-to-a-new-one/218574 "2022-02-17T17:26:03Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![ratacat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ratacat/32/250344_2.png) [@ratacat](https://meta.discourse.org/u/ratacat)
#### Post date: [17 בפברואר,‏ 2022,‏ 5:26pm UTC](https://meta.discourse.org/t/lost-dns-name-need-to-change-to-a-new-one/218574/1 "2022-02-17T17:26:03Z")

</div>

Running a forum for a local nonprofit, the DNS name didn’t get paid for, and got snagged by someone who rerouted it to weight loss supplements =/

So I want to get the forum up and running on a new domain name, but I can’t seem to access the site. I’m going to try just setting the DNS in my local hosts file, that didn’t occur to me until now, and see if I can get to the admin interface.

Any one have any other suggestions? Thanks!

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [17 בפברואר,‏ 2022,‏ 5:27pm UTC](https://meta.discourse.org/t/lost-dns-name-need-to-change-to-a-new-one/218574/2 "2022-02-17T17:27:32Z")

</div>

Very easy if you have ssh access to IP.

Just log in as root, reconfigure and rebuild.

---

<div class="post-metadata">

### Author: ![ratacat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ratacat/32/250344_2.png) [@ratacat](https://meta.discourse.org/u/ratacat)
#### Post date: [17 בפברואר,‏ 2022,‏ 5:28pm UTC](https://meta.discourse.org/t/lost-dns-name-need-to-change-to-a-new-one/218574/3 "2022-02-17T17:28:05Z")

</div>

I do, sorry it’s been a long time since I set it up, `reconfigure` is a included script?

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [17 בפברואר,‏ 2022,‏ 5:30pm UTC](https://meta.discourse.org/t/lost-dns-name-need-to-change-to-a-new-one/218574/4 "2022-02-17T17:30:30Z")

</div>

> [@Change the domain name or rename your Discourse](https://meta.discourse.org/t/change-the-domain-name-or-rename-my-discourse/16098):
>
> bookmark This guide explains how-to change the domain name of your Discourse site, and includes information about setting up DNS changes, editing configuration files, updating site settings, and correcting social logins and post content to reflect your new domain name. warning This guide is for self-hosted Discourse instances that were installed using our [installation guide on GitHub](https://github.com/discourse/discourse/blob/main/docs/INSTALL-cloud.md). If you are [hosted by Discourse](https://www.discourse.org/pricing), please see [Configure your domain name for hosted Discourse](https://meta.discourse.org/t/configure-your-domain-name-for-hosted-discourse/21827) for specific …

---

<div class="post-metadata">

### Author: ![ratacat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ratacat/32/250344_2.png) [@ratacat](https://meta.discourse.org/u/ratacat)
#### Post date: [17 בפברואר,‏ 2022,‏ 6:26pm UTC](https://meta.discourse.org/t/lost-dns-name-need-to-change-to-a-new-one/218574/5 "2022-02-17T18:26:45Z")

</div>

Thankyou! I ran `discourse-setup` as root, and it did lots of things, but at the end when it tried starting discourse, port 80 appeared to already be bound.

```plaintext
/usr/bin/docker: Error response from daemon: driver failed programming external connectivity on endpoint app (5274a3306f48252a89b4fe81103ebe252645b91f15fa205319451aa5bf6c79d7): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use.
==================== END REBUILD LOG ====================
Failed to rebuild app.

Checking your domain name . . .

```

And it said failed. I’m wondering if I should have used a different user account instead of root? Or if there’s some process I could kill first?

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [17 בפברואר,‏ 2022,‏ 6:31pm UTC](https://meta.discourse.org/t/lost-dns-name-need-to-change-to-a-new-one/218574/6 "2022-02-17T18:31:33Z")

</div>

root is the correct user usually.

Use the rebuild after directly editing `app.yml` is my suggestion.

```plaintext
./launcher rebuild app

```

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [17 בפברואר,‏ 2022,‏ 6:41pm UTC](https://meta.discourse.org/t/lost-dns-name-need-to-change-to-a-new-one/218574/7 "2022-02-17T18:41:52Z")

</div>

Private Message me with the login details and let me quickly help you.

Take it as my contribution to the non-profilt

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [18 בפברואר,‏ 2022,‏ 4:27pm UTC](https://meta.discourse.org/t/lost-dns-name-need-to-change-to-a-new-one/218574/8 "2022-02-18T16:27:13Z")

</div>

Site is running on the new domain.

Issue solved.

---

<div class="post-metadata">

### Author: ![ratacat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ratacat/32/250344_2.png) [@ratacat](https://meta.discourse.org/u/ratacat)
#### Post date: [18 בפברואר,‏ 2022,‏ 10:20pm UTC](https://meta.discourse.org/t/lost-dns-name-need-to-change-to-a-new-one/218574/9 "2022-02-18T22:20:03Z")

</div>

Massively appreciate this @IAmGav !!!

---

<div class="post-metadata">

### Author: ![ratacat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ratacat/32/250344_2.png) [@ratacat](https://meta.discourse.org/u/ratacat)
#### Post date: [21 בפברואר,‏ 2022,‏ 10:42pm UTC](https://meta.discourse.org/t/lost-dns-name-need-to-change-to-a-new-one/218574/10 "2022-02-21T22:42:51Z")

</div>

Hey Gavin, so the nonprofit is a Mycological Association, which you probably could tell. They are very grateful for your help, and they’d love to send you a thankyou gift if you’re into [dried morels](https://www.google.com/search?q=morels&tbm=isch&ved=2ahUKEwibs_rt7pH2AhWjHzQIHcCLAGUQ2-cCegQIABAA&oq=morels&gs_lcp=CgNpbWcQAzIICAAQgAQQsQMyBQgAEIAEMgUIABCABDIFCAAQgAQyBQgAEIAEMgUIABCABDIFCAAQgAQyBQgAEIAEMgUIABCABDIFCAAQgAQ6BwgAELEDEEM6BAgAEAM6BAgAEEM6CwgAEIAEELEDEIMBOggIABCxAxCDAVCeB1jlCmDhC2gAcAB4AIABSYgBogOSAQE3mAEAoAEBqgELZ3dzLXdpei1pbWfAAQE&sclient=img&ei=BRUUYtucDKO_0PEPwJeCqAY&bih=944&biw=1505)! If you’ve never had them, they’re extremely yummy(and expensive) gourmet mushrooms. Also, nobody is offended if you’re pretty sure you’re not into it ;p They’re not for everybody

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [21 בפברואר,‏ 2022,‏ 10:47pm UTC](https://meta.discourse.org/t/lost-dns-name-need-to-change-to-a-new-one/218574/11 "2022-02-21T22:47:52Z")

</div>

Thank you for the offer, but I will have to decline. The South African Import Fees are crazy and we cant have nice stuff.

But thank you 🙂

---

<div class="post-metadata">

### Author: ![ratacat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ratacat/32/250344_2.png) [@ratacat](https://meta.discourse.org/u/ratacat)
#### Post date: [22 בפברואר,‏ 2022,‏ 8:58pm UTC](https://meta.discourse.org/t/lost-dns-name-need-to-change-to-a-new-one/218574/13 "2022-02-22T20:58:40Z")

</div>

hahaha, no worries, well if you ever find yourself near Montana in the US, come say hi =) We’ll take you out mushroom hunting if you like

Thankyou so much for everything Gavin!

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [24 במרץ,‏ 2022,‏ 8:59pm UTC](https://meta.discourse.org/t/lost-dns-name-need-to-change-to-a-new-one/218574/14 "2022-03-24T20:59:41Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
