# Renaming discourse installation URL

**URL:** https://meta.discourse.org/t/renaming-discourse-installation-url/132942
**Category:** Self-hosting
**Created:** [November 8, 2019, 4:26pm UTC](https://meta.discourse.org/t/renaming-discourse-installation-url/132942 "2019-11-08T16:26:46Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![jfbourdeau](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jfbourdeau/32/101426_2.png) [@jfbourdeau](https://meta.discourse.org/u/jfbourdeau)
#### Post date: [November 8, 2019, 4:26pm UTC](https://meta.discourse.org/t/renaming-discourse-installation-url/132942/1 "2019-11-08T16:26:46Z")

</div>

I am trying to follow this

> [@Rename existing discourse site](https://meta.discourse.org/t/rename-existing-discourse-site/127497/2):
>
> Use the search Luke:

But I can’t rename my discourse installation…

It would be cool if there as an integrated feature in the WEB interface to do it for " less technical" people.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [November 8, 2019, 4:32pm UTC](https://meta.discourse.org/t/renaming-discourse-installation-url/132942/2 "2019-11-08T16:32:42Z")

</div>

What’s preventing you from doing this?

The URL is needed while the app is rebuilt, which is why this is necessary.

Discourse is an application, not a simple website. Assuming you used the [official install](https://meta.discourse.org/t/142537?silent=true) instructions the process to change URL is no more complex than the installation process.

---

<div class="post-metadata">

### Author: ![jfbourdeau](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jfbourdeau/32/101426_2.png) [@jfbourdeau](https://meta.discourse.org/u/jfbourdeau)
#### Post date: [November 8, 2019, 4:33pm UTC](https://meta.discourse.org/t/renaming-discourse-installation-url/132942/3 "2019-11-08T16:33:52Z")

</div>

Sorry for my unclear question. (I speak French)

I want to change the URL, but it doesn’t work when following these steps…

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [November 8, 2019, 4:35pm UTC](https://meta.discourse.org/t/renaming-discourse-installation-url/132942/4 "2019-11-08T16:35:36Z")

</div>

Are there any errors? What happens when you try?

---

<div class="post-metadata">

### Author: ![jfbourdeau](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jfbourdeau/32/101426_2.png) [@jfbourdeau](https://meta.discourse.org/u/jfbourdeau)
#### Post date: [November 8, 2019, 4:41pm UTC](https://meta.discourse.org/t/renaming-discourse-installation-url/132942/5 "2019-11-08T16:41:00Z")

</div>

ok now it,s not working with the old URL neither the new.  
I will try to put it back functionnal, and then, follow again the steps to rename it and provide you the errors it was giving…

Sorry for the lack of details… Working on that 😉

---

<div class="post-metadata">

### Author: ![jfbourdeau](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jfbourdeau/32/101426_2.png) [@jfbourdeau](https://meta.discourse.org/u/jfbourdeau)
#### Post date: [November 8, 2019, 5:14pm UTC](https://meta.discourse.org/t/renaming-discourse-installation-url/132942/6 "2019-11-08T17:14:27Z")

</div>

![image](https://global.discourse-cdn.com/meta/original/3X/7/3/730e93a9b3efb1551794a5633056c492ce2ea747.png)

---

<div class="post-metadata">

### Author: ![jfbourdeau](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jfbourdeau/32/101426_2.png) [@jfbourdeau](https://meta.discourse.org/u/jfbourdeau)
#### Post date: [November 8, 2019, 5:21pm UTC](https://meta.discourse.org/t/renaming-discourse-installation-url/132942/7 "2019-11-08T17:21:53Z")

</div>

The old name I want to change is :  
[https://forum.tesla-quebec.com/](https://forum.tesla-quebec.com/)

New one : [https://discours.tesla-forum.com](https://discours.tesla-forum.com)

JF

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [November 8, 2019, 5:24pm UTC](https://meta.discourse.org/t/renaming-discourse-installation-url/132942/8 "2019-11-08T17:24:12Z")

</div>

Are you trying to change URL without specifying an SMTP username and password?

You will need to specify them again during setup, they can’t be blank.

---

<div class="post-metadata">

### Author: ![jfbourdeau](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jfbourdeau/32/101426_2.png) [@jfbourdeau](https://meta.discourse.org/u/jfbourdeau)
#### Post date: [November 8, 2019, 5:25pm UTC](https://meta.discourse.org/t/renaming-discourse-installation-url/132942/9 "2019-11-08T17:25:18Z")

</div>

My previous installation, if I am not lost, didn’t have one as the SMTP Server I am using is not using a PW to allow the discourse IP to relay…

But, I will put one to see how it goes…

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [November 8, 2019, 5:26pm UTC](https://meta.discourse.org/t/renaming-discourse-installation-url/132942/10 "2019-11-08T17:26:53Z")

</div>

Is [mail.stop-spams.com](http://mail.stop-spams.com) a valid SMTP server? Working email is a prerequisite for running Discourse.

---

<div class="post-metadata">

### Author: ![jfbourdeau](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jfbourdeau/32/101426_2.png) [@jfbourdeau](https://meta.discourse.org/u/jfbourdeau)
#### Post date: [November 8, 2019, 5:29pm UTC](https://meta.discourse.org/t/renaming-discourse-installation-url/132942/11 "2019-11-08T17:29:14Z")

</div>

Yes the smtp server was working well with my previous instsallation  
I am trying to run setup and it’s not asking for the username anymore…Weird…Just the password…

---

<div class="post-metadata">

### Author: ![jfbourdeau](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jfbourdeau/32/101426_2.png) [@jfbourdeau](https://meta.discourse.org/u/jfbourdeau)
#### Post date: [November 8, 2019, 5:32pm UTC](https://meta.discourse.org/t/renaming-discourse-installation-url/132942/12 "2019-11-08T17:32:29Z")

</div>

trying to edit the app.yml myself  
and rebuild after

---

<div class="post-metadata">

### Author: ![jfbourdeau](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jfbourdeau/32/101426_2.png) [@jfbourdeau](https://meta.discourse.org/u/jfbourdeau)
#### Post date: [November 8, 2019, 5:37pm UTC](https://meta.discourse.org/t/renaming-discourse-installation-url/132942/13 "2019-11-08T17:37:58Z")

</div>

I did it tks for your help !  
[https://discourse.tesla-forum.com/](https://discourse.tesla-forum.com/) !!!

Was tough but now working

---

<div class="post-metadata">

### Author: ![jfbourdeau](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jfbourdeau/32/101426_2.png) [@jfbourdeau](https://meta.discourse.org/u/jfbourdeau)
#### Post date: [November 8, 2019, 5:44pm UTC](https://meta.discourse.org/t/renaming-discourse-installation-url/132942/14 "2019-11-08T17:44:45Z")

</div>

Now I just need to fix my FaceBook and Google autentication…  
Hope people won’t have to create new accounts…

---

<div class="post-metadata">

### Author: ![jfbourdeau](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jfbourdeau/32/101426_2.png) [@jfbourdeau](https://meta.discourse.org/u/jfbourdeau)
#### Post date: [November 8, 2019, 5:49pm UTC](https://meta.discourse.org/t/renaming-discourse-installation-url/132942/15 "2019-11-08T17:49:05Z")

</div>

I will need to change the url in the Google and Facebook API…

I suppose all users will have to register again ?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [November 8, 2019, 7:48pm UTC](https://meta.discourse.org/t/renaming-discourse-installation-url/132942/16 "2019-11-08T19:48:08Z")

</div>

The problem is that the SMTP username/password cannot be empty.

If it’s something else, then you can `rm containers/app.yml` and then run `./discourse-setup` again.

EDIT: Oh, you did that. Maybe I had this page open in my browser and didn’t notice the other post?

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [November 8, 2019, 7:52pm UTC](https://meta.discourse.org/t/renaming-discourse-installation-url/132942/17 "2019-11-08T19:52:00Z")

</div>

Looks like he’s past that stage.

---

<div class="post-metadata">

### Author: ![MarcP](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/marcp/32/160184_2.png) [@MarcP](https://meta.discourse.org/u/MarcP)
#### Post date: [November 8, 2019, 10:18pm UTC](https://meta.discourse.org/t/renaming-discourse-installation-url/132942/18 "2019-11-08T22:18:53Z")

</div>

> [@jfbourdeau](#):
>
> I will need to change the url in the Google and Facebook API…

Are you talking about the callback URL? As far as I know you can change this any time without affecting earlier registrations. If the callback URL can not resolve the login/register methods simply won’t work.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [November 8, 2019, 10:52pm UTC](https://meta.discourse.org/t/renaming-discourse-installation-url/132942/19 "2019-11-08T22:52:55Z")

</div>

> [@jfbourdeau](#):
>
> I will need to change the url in the Google and Facebook API…

Right. Fix the callback url.

> [@jfbourdeau](#):
>
> I suppose all users will have to register again ?

Nope.

---

<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: [August 1, 2023, 5:22pm UTC](https://meta.discourse.org/t/renaming-discourse-installation-url/132942/20 "2023-08-01T17:22:46Z")

</div>



[Next page](https://meta.discourse.org/t/renaming-discourse-installation-url/132942.md?page=2)
