# Self-hosting

**URL:** https://meta.discourse.org/c/support/self-hosting/31.md?page=113

[Latest](https://meta.discourse.org/latest.md) · [Categories](https://meta.discourse.org/categories.md) · [Tags](https://meta.discourse.org/tags.md)

**Page:** 114

---

## [How to change SMTP password during installation](https://meta.discourse.org/t/how-to-change-smtp-password-during-installation/133516)

<div class="topic-metadata">

**Author:** [@asyraf](https://meta.discourse.org/u/asyraf)\
**Replies:** 1\
**Last updated:** [November 15, 2019, 8:45pm UTC](https://meta.discourse.org/t/how-to-change-smtp-password-during-installation/133516 "2019-11-15T20:45:36Z")

</div>

I put wrong SMTP password during installation. How to change to the right one?

---

## [I want to host hundreds of instances of Discourse](https://meta.discourse.org/t/i-want-to-host-hundreds-of-instances-of-discourse/133388)

<div class="topic-metadata">

**Author:** [@Akshay\_Gadekar](https://meta.discourse.org/u/Akshay_Gadekar)\
**Replies:** 8\
**Last updated:** [November 14, 2019, 4:17pm UTC](https://meta.discourse.org/t/i-want-to-host-hundreds-of-instances-of-discourse/133388 "2019-11-14T16:17:51Z")

</div>

I want to Host 100’s of Discourse. is it possible to install multiple Discourse on Single Hosting/Droplet? with URL name like - example.com/City1, example.com/City2, example.com/City3, etc (Means Separate Discourse fo…

---

## [Discourse and cloudflare](https://meta.discourse.org/t/discourse-and-cloudflare/133366)

<div class="topic-metadata">

**Author:** [@chi\_noti\_info](https://meta.discourse.org/u/chi_noti_info)\
**Replies:** 2\
**Last updated:** [November 14, 2019, 8:13am UTC](https://meta.discourse.org/t/discourse-and-cloudflare/133366 "2019-11-14T08:13:07Z")

</div>

Hello. I was reading some of the guides about cloudflare and discourse and didn’t quite get anything strightforward out of it. Some say discourse and cloudflare don’t work well together, others say they do, some say the…

---

## [How to restart Discorse's nginx service inside the docker container?](https://meta.discourse.org/t/how-to-restart-discorses-nginx-service-inside-the-docker-container/133187)

<div class="topic-metadata">

**Author:** [@maltfield](https://meta.discourse.org/u/maltfield)\
**Replies:** 2\
**Last updated:** [November 13, 2019, 1:22am UTC](https://meta.discourse.org/t/how-to-restart-discorses-nginx-service-inside-the-docker-container/133187 "2019-11-13T01:22:55Z")

</div>

What is the correct way to restart nginx inside the Discorse docker container? The docker container appears to be running Debian 10, but the usual systemd approach for restarting nginx fails \[root@osestaging1 discourse…

---

## [Custom domain email with discourse DO setup](https://meta.discourse.org/t/custom-domain-email-with-discourse-do-setup/55670)

<div class="topic-metadata">

**Author:** [@azaleas](https://meta.discourse.org/u/azaleas)\
**Replies:** 8\
**Last updated:** [January 16, 2017, 4:50am UTC](https://meta.discourse.org/t/custom-domain-email-with-discourse-do-setup/55670 "2017-01-16T04:50:53Z")

</div>

Hey guys, I managed to install Discourse on digital ocean. I used Pepipost as smtp provider. I got my emails and I can login and register. Currently I’m using gmail as admin email and I’d like to use my domain name in…

---

## [Renaming discourse installation URL](https://meta.discourse.org/t/renaming-discourse-installation-url/132942)

<div class="topic-metadata">

**Author:** [@jfbourdeau](https://meta.discourse.org/u/jfbourdeau)\
**Replies:** 18\
**Last updated:** [November 8, 2019, 10:52pm UTC](https://meta.discourse.org/t/renaming-discourse-installation-url/132942 "2019-11-08T22:52:55Z")

</div>

I am trying to follow this 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.

---

## [Add prefix for asset urls](https://meta.discourse.org/t/add-prefix-for-asset-urls/132922)

<div class="topic-metadata">

**Author:** [@Lars\_Janssen](https://meta.discourse.org/u/Lars_Janssen)\
**Replies:** 1\
**Last updated:** [November 8, 2019, 1:23pm UTC](https://meta.discourse.org/t/add-prefix-for-asset-urls/132922 "2019-11-08T13:23:34Z")

</div>

Hi, I’ve installed discourse in a submap on my site: /forum And changed my nginx file: location /forum { proxy\_pass http://localhost:3000/; } The problem I have now is that the assets are still going …

---

## [Stuck at root@forum:~#](https://meta.discourse.org/t/stuck-at-root-forum/132780)

<div class="topic-metadata">

**Author:** [@whitspen](https://meta.discourse.org/u/whitspen)\
**Replies:** 13\
**Last updated:** [November 7, 2019, 4:50pm UTC](https://meta.discourse.org/t/stuck-at-root-forum/132780 "2019-11-07T16:50:24Z")

</div>

In the (never-ending) process of trying to setup Discourse via Mailgun + Digital Ocean. I’ve secured my droplet with Digital Ocean and confirmed by DNS with name.com and Mailgun. I entered my temporary password and res…

---

## [SSL installation](https://meta.discourse.org/t/ssl-installation/132621)

<div class="topic-metadata">

**Author:** [@calavera](https://meta.discourse.org/u/calavera)\
**Replies:** 16\
**Last updated:** [November 6, 2019, 3:13am UTC](https://meta.discourse.org/t/ssl-installation/132621 "2019-11-06T03:13:21Z")

</div>

Hi! I installed discourse ready vps on digitalocean. My website works on https. Free lets ssl i guess. Is it really safe? I also bought comodossl. When i want to create certificate on comodo panel. It asks me my CSR cod…

---

## [Install Discourse on QNAP with Docker](https://meta.discourse.org/t/install-discourse-on-qnap-with-docker/132648)

<div class="topic-metadata">

**Author:** [@digitalgerry](https://meta.discourse.org/u/digitalgerry)\
**Replies:** 6\
**Last updated:** [November 5, 2019, 3:47pm UTC](https://meta.discourse.org/t/install-discourse-on-qnap-with-docker/132648 "2019-11-05T15:47:21Z")

</div>

Hi all Despite my name, I’m not very technical, so I want to run Discourse self hosted on a QNAP. It has a docker container and it is active. How do I get Discourse running? The version installed is 1.04 and is in …

---

## [Cloudflare & Discourse](https://meta.discourse.org/t/cloudflare-discourse/132626)

<div class="topic-metadata">

**Author:** [@calavera](https://meta.discourse.org/u/calavera)\
**Replies:** 3\
**Last updated:** [November 5, 2019, 3:26pm UTC](https://meta.discourse.org/t/cloudflare-discourse/132626 "2019-11-05T15:26:42Z")

</div>

Hi! I have a discourse on docker. I redirected my website on cloudflare. Do I should do some tweaks or settings on cloudflare control panel or discourse for best performance?

---

## [Newbie Mailgun Setup Headache](https://meta.discourse.org/t/newbie-mailgun-setup-headache/132615)

<div class="topic-metadata">

**Author:** [@Jeremy\_Marks](https://meta.discourse.org/u/Jeremy_Marks)\
**Replies:** 3\
**Last updated:** [November 5, 2019, 6:06am UTC](https://meta.discourse.org/t/newbie-mailgun-setup-headache/132615 "2019-11-05T06:06:06Z")

</div>

I have an existing website that uses G-Suite, and I’ve set up Discourse on Digital Ocean. I’m at the point after the installation is complete and it wants me to register admin account. I finish and it’s supposed to sen…

---

## [Unexpected error 500 that never seen before (missing S3 bucket name)](https://meta.discourse.org/t/unexpected-error-500-that-never-seen-before-missing-s3-bucket-name/132568)

<div class="topic-metadata">

**Author:** [@skozz](https://meta.discourse.org/u/skozz)\
**Replies:** 5\
**Last updated:** [November 4, 2019, 7:46pm UTC](https://meta.discourse.org/t/unexpected-error-500-that-never-seen-before-missing-s3-bucket-name/132568 "2019-11-04T19:46:49Z")

</div>

Hi! I’m running a Discourse (docker) in DigitalOcean for the last 3 years without too many problems. Today, after changing a few settings related to the size of the images, the whole site turned into an error 500, showi…

---

## [Secure cookie configuration](https://meta.discourse.org/t/secure-cookie-configuration/132388)

<div class="topic-metadata">

**Author:** [@nephilim75](https://meta.discourse.org/u/nephilim75)\
**Replies:** 3\
**Last updated:** [November 1, 2019, 4:53pm UTC](https://meta.discourse.org/t/secure-cookie-configuration/132388 "2019-11-01T16:53:05Z")

</div>

Hej guys did a penetration test of my instance. It told there is a risk due to unsecure cookie which could be hijacked by XSS attack. I would like to pretend this risk by adding a line of code into nginx config. But I c…

---

## [A check for updates has not been performed lately. Ensure sidekiq is running](https://meta.discourse.org/t/a-check-for-updates-has-not-been-performed-lately-ensure-sidekiq-is-running/69726)

<div class="topic-metadata">

**Author:** [@kyle\_boyce](https://meta.discourse.org/u/kyle_boyce)\
**Replies:** 11\
**Last updated:** [November 1, 2019, 5:36am UTC](https://meta.discourse.org/t/a-check-for-updates-has-not-been-performed-lately-ensure-sidekiq-is-running/69726 "2019-11-01T05:36:53Z")

</div>

A check for updates has not been performed lately. Ensure sidekiq is running. I tried this and it didn’t work any help would be appreciated!

---

## [Email Notifications Failing after Update](https://meta.discourse.org/t/email-notifications-failing-after-update/132271)

<div class="topic-metadata">

**Author:** [@bmgraves](https://meta.discourse.org/u/bmgraves)\
**Replies:** 3\
**Last updated:** [October 31, 2019, 8:56pm UTC](https://meta.discourse.org/t/email-notifications-failing-after-update/132271 "2019-10-31T20:56:43Z")

</div>

Recently updated to the latest version and suddenly email notifications are no longer working. Sidekiq has the following error: obs::HandledExceptionWrapper: Wrapped OpenSSL::SSL::SSLError: SSL\_connect returned=1 errno…

---

## [How to install Discourse on Plesk?](https://meta.discourse.org/t/how-to-install-discourse-on-plesk/132234)

<div class="topic-metadata">

**Author:** [@LordLiverpool](https://meta.discourse.org/u/LordLiverpool)\
**Replies:** 16\
**Last updated:** [October 31, 2019, 12:57pm UTC](https://meta.discourse.org/t/how-to-install-discourse-on-plesk/132234 "2019-10-31T12:57:47Z")

</div>

Does anyone have a ‘tried and tested’ set of instructions of how to install Discourse on a Plesk server? My Plesk Server has a Docker option, would that help? (see image) Thanks in advance.

---

## [Long loading times for user summary page with slow database](https://meta.discourse.org/t/long-loading-times-for-user-summary-page-with-slow-database/131870)

<div class="topic-metadata">

**Author:** [@klopsknoedel](https://meta.discourse.org/u/klopsknoedel)\
**Replies:** 17\
**Last updated:** [October 29, 2019, 6:01pm UTC](https://meta.discourse.org/t/long-loading-times-for-user-summary-page-with-slow-database/131870 "2019-10-29T18:01:14Z")

</div>

Hi, we’re facing huge loading times accessing a users summary page. It seems that it takes longer to load the summary the more active a user interacts with our site. Which, yes, seems quite obvious, but the difference i…

---

## [Email SSL Errors after Update to 2.4.0.beta4](https://meta.discourse.org/t/email-ssl-errors-after-update-to-2-4-0-beta4/128992)

<div class="topic-metadata">

**Author:** [@Zyniker](https://meta.discourse.org/u/Zyniker)\
**Replies:** 15\
**Last updated:** [October 28, 2019, 10:01pm UTC](https://meta.discourse.org/t/email-ssl-errors-after-update-to-2-4-0-beta4/128992 "2019-10-28T22:01:40Z")

</div>

Since upgrading to 2.4.0.beta4, none of my installs that are using Rackspace for outgoing email have been able to send, well, outgoing email. Given that the outgoing email server is, again, Rackspace, I am going to presu…

---

## [Faster rebuilds?](https://meta.discourse.org/t/faster-rebuilds/40341)

<div class="topic-metadata">

**Author:** [@iamntz](https://meta.discourse.org/u/iamntz)\
**Replies:** 22\
**Last updated:** [October 28, 2019, 4:19pm UTC](https://meta.discourse.org/t/faster-rebuilds/40341 "2019-10-28T16:19:06Z")

</div>

Hey guys, I wonder if there is a way to run ./launcher rebuild app a bit faster. Right now it takes 6-9 minutes to do the whole stuff and i’d like to skip some stuff that looks a bit useless: These three commands takes …

---

## [Dockerrun.aws.json?](https://meta.discourse.org/t/dockerrun-aws-json/131842)

<div class="topic-metadata">

**Author:** [@mattzanon](https://meta.discourse.org/u/mattzanon)\
**Replies:** 1\
**Last updated:** [October 26, 2019, 11:07am UTC](https://meta.discourse.org/t/dockerrun-aws-json/131842 "2019-10-26T11:07:58Z")

</div>

I’m unable to find a Dockerrun.aws.json (Amazon Elastic Beanstalk) suitable for Discourse. Has anyone succeeded at getting Discourse to run as an Amazon Elastic Beanstalk application within EB’s Docker “platform”? prior…

---

## [Installment issue with ports](https://meta.discourse.org/t/installment-issue-with-ports/131926)

<div class="topic-metadata">

**Author:** [@NSG](https://meta.discourse.org/u/NSG)\
**Replies:** 1\
**Last updated:** [October 26, 2019, 5:52am UTC](https://meta.discourse.org/t/installment-issue-with-ports/131926 "2019-10-26T05:52:19Z")

</div>

Hey I just installed Discourse and I use a cpanel email setup everything not gotton the email so I did the doctor command and said port issue 465 failed and then tried 857 failed again?? I don’t understand im on 18.04 …

---

## [How to disable public access to a staged discourse instance](https://meta.discourse.org/t/how-to-disable-public-access-to-a-staged-discourse-instance/131770)

<div class="topic-metadata">

**Author:** [@mompo](https://meta.discourse.org/u/mompo)\
**Replies:** 5\
**Last updated:** [October 25, 2019, 8:42pm UTC](https://meta.discourse.org/t/how-to-disable-public-access-to-a-staged-discourse-instance/131770 "2019-10-25T20:42:05Z")

</div>

Hi. We’re planning to use discourse own cloud hosting for our production system. Is there a way to stage it completely for management approval, but close it for publicity? Best, Luis

---

## [Best dev installation method for running on macOS?](https://meta.discourse.org/t/best-dev-installation-method-for-running-on-macos/131562)

<div class="topic-metadata">

**Author:** [@rayascott](https://meta.discourse.org/u/rayascott)\
**Replies:** 5\
**Last updated:** [October 25, 2019, 2:08pm UTC](https://meta.discourse.org/t/best-dev-installation-method-for-running-on-macos/131562 "2019-10-25T14:08:52Z")

</div>

What is the current thinking and approach to installing Discourse on macOS for development purposes? I’ve tried installing via the official GitHub documented instructions in the article - Beginners Guide to Install Disco…

---

## [Moving from Vultr to DigtitalOcean](https://meta.discourse.org/t/moving-from-vultr-to-digtitalocean/131696)

<div class="topic-metadata">

**Author:** [@frold](https://meta.discourse.org/u/frold)\
**Replies:** 3\
**Last updated:** [October 23, 2019, 1:30pm UTC](https://meta.discourse.org/t/moving-from-vultr-to-digtitalocean/131696 "2019-10-23T13:30:11Z")

</div>

First At DigitalOcean should I choose the app: Discourse | DigitalOcean Marketplace 1-Click App Or should I choose a vanilla ubuntu 18.04 and then install it using discourse/docs/INSTALL-cloud.md at main · discourse/di…

---

## [Getting error when setting up Let's Encrypt SSL on GCP](https://meta.discourse.org/t/getting-error-when-setting-up-lets-encrypt-ssl-on-gcp/75007)

<div class="topic-metadata">

**Author:** [@WallBB](https://meta.discourse.org/u/WallBB)\
**Replies:** 10\
**Last updated:** [October 22, 2019, 12:21pm UTC](https://meta.discourse.org/t/getting-error-when-setting-up-lets-encrypt-ssl-on-gcp/75007 "2019-10-22T12:21:23Z")

</div>

Hello, I am trying to setup Lets Encrypt SSL, so while installing discourse, I tried setting the email for Lets encrypt but I got below error :- Checking your domain name . . . WARNING:: This server does not appear t…

---

## [SMTP Delivery Problems](https://meta.discourse.org/t/smtp-delivery-problems/131585)

<div class="topic-metadata">

**Author:** [@Antichrist](https://meta.discourse.org/u/Antichrist)\
**Replies:** 4\
**Last updated:** [October 21, 2019, 8:56pm UTC](https://meta.discourse.org/t/smtp-delivery-problems/131585 "2019-10-21T20:56:17Z")

</div>

I’ve been struggling with settings up SMTP to work, I really hope someone can help me out with my sccenario. So let’s say that my discourse forum is located at discourseaddress.com and my mail is at mailserver.com. The d…

---

## [Activation emails: discourse-doctor works, discourse itself does not](https://meta.discourse.org/t/activation-emails-discourse-doctor-works-discourse-itself-does-not/131337)

<div class="topic-metadata">

**Author:** [@hexadecagram](https://meta.discourse.org/u/hexadecagram)\
**Replies:** 4\
**Last updated:** [October 20, 2019, 11:10am UTC](https://meta.discourse.org/t/activation-emails-discourse-doctor-works-discourse-itself-does-not/131337 "2019-10-20T11:10:00Z")

</div>

Hi all, Just as the title says. discourse-doctor will connect to my mailserver (running on the host machine) via its external and internet-facing interface (but not localhost), but discourse itself just will not. No at…

---

## [Running two Discourse forums](https://meta.discourse.org/t/running-two-discourse-forums/131232)

<div class="topic-metadata">

**Author:** [@IvanC](https://meta.discourse.org/u/IvanC)\
**Replies:** 3\
**Last updated:** [October 17, 2019, 10:30am UTC](https://meta.discourse.org/t/running-two-discourse-forums/131232 "2019-10-17T10:30:16Z")

</div>

Is it possible to run two separate Discourse forums on the same cloud server? Thanks

---

## [Failed to restore DB](https://meta.discourse.org/t/failed-to-restore-db/131137)

<div class="topic-metadata">

**Author:** [@Rasin](https://meta.discourse.org/u/Rasin)\
**Replies:** 9\
**Last updated:** [October 17, 2019, 1:22am UTC](https://meta.discourse.org/t/failed-to-restore-db/131137 "2019-10-17T01:22:45Z")

</div>

I was trying to restore my backup to a new server, and it showed some errors. The log is here: Ubuntu Pastebin The error maybe: PG::UniqueViolation: ERROR: could not create unique index "unique\_index\_categories\_on\_sl…

[Previous page](https://meta.discourse.org/c/support/self-hosting/31.md?page=112)

[Next page](https://meta.discourse.org/c/support/self-hosting/31.md?page=114)
