Andro
(Andrew Bernard)
January 9, 2021, 5:24am
1
To be specific, I want to change the domain I use from discourse.jackril.space to jackrail.space.
But after adjusting app.yml and several rebuilds, I just get a 502 gateway not found and error messages:
2021/01/09 05:21:07 [crit] 4994#4994: *351 connect() to unix:/var/discourse/shared/standalone/nginx.http.sock failed (2: No such file or directory) while connecting to upstream, client: 59.167.198.231, server: jackrail.space, request: “GET /javascripts/workbox/workbox-routing.prod.js HTTP/1.1”, upstream: “http://unix :/var/discourse/shared/standalone/nginx.http.sock:/javascripts/workbox/workbox-routing.prod.js”, host: “jackrail.space”
from the nginx reverse proxy server, which worked find until this one relativelys small change.
Why is nginx.http.sock not being created? What is the correct procedure for changing the domain?
1 Like
JimPas
January 9, 2021, 7:55am
2
In the /admin
Dashboard, click on the button Change Domain Name
. The first thing you get asked is to enter the new domain name, click next and follow the prompts.
Andro
(Andrew Bernard)
January 9, 2021, 8:24am
3
I am self hosted. And now the site is completely inaccessible. Am I dead?
1 Like
No, Your installation isn’t dead. Did you follow this guide?
This guide is for self-hosted Discourse instances that were installed using our installation guide on GitHub . If you are hosted by Discourse , please see Configure your domain name for hosted Discourse for specific instructions.
You may eventually want to change the domain name of your Discourse instance, from say
=BEFORE= → =AFTER=
Let’s get started.
Set the TTL for your DNS low, and in advance
You need to let everyone know that the domain is about to change, so change the TTL f…
If so, the only additional steps required with an external nginx is to change the domain name in the nginx config and generate ssl for the new domain.
If you can’t get it up, it might be worth sharing what steps you took to rename discourse installation.
5 Likes
Andro
(Andrew Bernard)
January 9, 2021, 9:50am
5
@itsbhanusharma Thank you. Issue solved.
4 Likes
system
(system)
Closed
February 8, 2021, 9:51am
6
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.