# Self-hosting

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

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

**Page:** 10

---

## [Discourse docker runs successfully, cannot access discourse host name](https://meta.discourse.org/t/discourse-docker-runs-successfully-cannot-access-discourse-host-name/384451)

<div class="topic-metadata">

**Author:** [@Shin\_210](https://meta.discourse.org/u/Shin_210)\
**Replies:** 5\
**Last updated:** [October 2, 2025, 5:43pm UTC](https://meta.discourse.org/t/discourse-docker-runs-successfully-cannot-access-discourse-host-name/384451 "2025-10-02T17:43:31Z")

</div>

After following this docs, I managed to get discourse up, but accessing the configured discourse host name returns 404. Is there anything wrong? Edit: for more information, I ran “./discourse-setup --skip-connection-tes…

---

## [About deploying Discourse on Windows Server](https://meta.discourse.org/t/about-deploying-discourse-on-windows-server/384295)

<div class="topic-metadata">

**Author:** [@MoRanYue](https://meta.discourse.org/u/MoRanYue)\
**Replies:** 4\
**Last updated:** [October 1, 2025, 5:47am UTC](https://meta.discourse.org/t/about-deploying-discourse-on-windows-server/384295 "2025-10-01T05:47:58Z")

</div>

As you know, a productional server running on Windows Server 2022 is a bit rare, but I am used to Windows. I have tried doing anything what those articles teaching “Installation in WSL” on native Windows, it is impossibl…

---

## [Upgrade from 3.5.0 -\> 3.5.1 required rebuild?](https://meta.discourse.org/t/upgrade-from-3-5-0-3-5-1-required-rebuild/384339)

<div class="topic-metadata">

**Author:** [@rahim123](https://meta.discourse.org/u/rahim123)\
**Replies:** 0\
**Last updated:** [September 30, 2025, 6:13am UTC](https://meta.discourse.org/t/upgrade-from-3-5-0-3-5-1-required-rebuild/384339 "2025-09-30T06:13:14Z")

</div>

I guess this is sort of a continuation of: I updated from 3.5.0 to 3.5.1 (stable channel) via the upgrade GUI (both the Docker manager and Discourse) and everything seemed to go well. But once it finished I checked the…

---

## [Switches for resource constrained VPS?](https://meta.discourse.org/t/switches-for-resource-constrained-vps/383216)

<div class="topic-metadata">

**Author:** [@nineb](https://meta.discourse.org/u/nineb)\
**Replies:** 6\
**Last updated:** [September 30, 2025, 5:27am UTC](https://meta.discourse.org/t/switches-for-resource-constrained-vps/383216 "2025-09-30T05:27:14Z")

</div>

I don’t want a swap. I will risk OOM. Are there command line switches implied here to constrain RAM under 2gigs? This instance will have at most 10 users. That’s right. TEN. Likely a frequent THREE users. The d…

---

## [Discourse behind Varnish?](https://meta.discourse.org/t/discourse-behind-varnish/4864)

<div class="topic-metadata">

**Author:** [@mikl](https://meta.discourse.org/u/mikl)\
**Replies:** 14\
**Last updated:** [September 29, 2025, 1:56pm UTC](https://meta.discourse.org/t/discourse-behind-varnish/4864 "2025-09-29T13:56:35Z")

</div>

Does anyone have experience with hosing Discourse behind a Varnish instance? I use it for load balancing. Which cookies do I need to whitelist (ie. enable to affect the page) when using Varnish?

---

## [Use local email server/sendmail for outgoing emails?](https://meta.discourse.org/t/use-local-email-server-sendmail-for-outgoing-emails/381354)

<div class="topic-metadata">

**Author:** [@MichaIng](https://meta.discourse.org/u/MichaIng)\
**Replies:** 9\
**Last updated:** [September 29, 2025, 12:11pm UTC](https://meta.discourse.org/t/use-local-email-server-sendmail-for-outgoing-emails/381354 "2025-09-29T12:11:47Z")

</div>

We set up our own email server, and I was wondering how to use it best with the Discourse Docker container. Of course I can just configure our SMTP details and credentials, but it feels like unnecessary overhead, since …

---

## [Followed github guide, vps. help me apply ram/vcpu limits](https://meta.discourse.org/t/followed-github-guide-vps-help-me-apply-ram-vcpu-limits/382578)

<div class="topic-metadata">

**Author:** [@maxjohnson](https://meta.discourse.org/u/maxjohnson)\
**Replies:** 2\
**Last updated:** [September 29, 2025, 9:19am UTC](https://meta.discourse.org/t/followed-github-guide-vps-help-me-apply-ram-vcpu-limits/382578 "2025-09-29T09:19:15Z")

</div>

(1) this is ubuntu 24 VPS. discourse already using 10gigs of ram. that’s not okay. It seems like it build a docker run command. While this included –shm-size=512m I would prefer apply additional cpu and ram constrai…

---

## [Transient 503s after ./launcher rebuild appN when they’re fronted by HAProxy](https://meta.discourse.org/t/transient-503s-after-launcher-rebuild-appn-when-they-re-fronted-by-haproxy/383179)

<div class="topic-metadata">

**Author:** [@Ethsim2](https://meta.discourse.org/u/Ethsim2)\
**Replies:** 4\
**Last updated:** [September 26, 2025, 5:04pm UTC](https://meta.discourse.org/t/transient-503s-after-launcher-rebuild-appn-when-they-re-fronted-by-haproxy/383179 "2025-09-26T17:04:39Z")

</div>

I had created a test forum with two web\_only containers, the mail-receiver container, Postgres and Redis on a Docker network. The two web containers nginx’s were fronted by HAProxy. They worked well, but i found on rebui…

---

## [How to Fix Discourse Forum /message-bus or Long Polling Errors](https://meta.discourse.org/t/how-to-fix-discourse-forum-message-bus-or-long-polling-errors/383861)

<div class="topic-metadata">

**Author:** [@qingfeng1024](https://meta.discourse.org/u/qingfeng1024)\
**Replies:** 0\
**Last updated:** [September 24, 2025, 11:07am UTC](https://meta.discourse.org/t/how-to-fix-discourse-forum-message-bus-or-long-polling-errors/383861 "2025-09-24T11:07:41Z")

</div>

1. Problem When Discourse is configured with a CDN, a common error occurs: /message-bus/204234de907442e8b77e153786a58e5b/poll Connection failed / timed out / abnormal status code Impact: Notifications fail: The red …

---

## [Optimizing a Large Discourse Multisite: Database and Sidekiq Bottlenecks](https://meta.discourse.org/t/optimizing-a-large-discourse-multisite-database-and-sidekiq-bottlenecks/381363)

<div class="topic-metadata">

**Author:** [@emonunix](https://meta.discourse.org/u/emonunix)\
**Replies:** 4\
**Last updated:** [September 22, 2025, 5:04pm UTC](https://meta.discourse.org/t/optimizing-a-large-discourse-multisite-database-and-sidekiq-bottlenecks/381363 "2025-09-22T17:04:57Z")

</div>

I’m seeking some expert guidance on optimizing a Discourse multisite setup. I have a single web VM and a separate database VM on a major cloud provider. While both machines have decent specs, I’m finding that my system g…

---

## [Help adding includeSubDomains to the Strict-Transport-Security header](https://meta.discourse.org/t/help-adding-includesubdomains-to-the-strict-transport-security-header/381983)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 4\
**Last updated:** [September 22, 2025, 2:38pm UTC](https://meta.discourse.org/t/help-adding-includesubdomains-to-the-strict-transport-security-header/381983 "2025-09-22T14:38:56Z")

</div>

A client used a helpful security scanner and now believes that the Strict-Transport-Security header should include ‘includeSubdomains’. I’ve added both of these to the app.yml: after\_ssl: - replace: file…

---

## [Discourse-doctor nagging about swap creation](https://meta.discourse.org/t/discourse-doctor-nagging-about-swap-creation/383443)

<div class="topic-metadata">

**Author:** [@nineb](https://meta.discourse.org/u/nineb)\
**Replies:** 3\
**Last updated:** [September 19, 2025, 7:47am UTC](https://meta.discourse.org/t/discourse-doctor-nagging-about-swap-creation/383443 "2025-09-19T07:47:46Z")

</div>

For small instances how can I force ./discourse-setup to stop nagging about SWAP creation for a 1c2r vps?

---

## [Which git minimalism allows install without wasting my local storage?](https://meta.discourse.org/t/which-git-minimalism-allows-install-without-wasting-my-local-storage/383219)

<div class="topic-metadata">

**Author:** [@nineb](https://meta.discourse.org/u/nineb)\
**Replies:** 3\
**Last updated:** [September 19, 2025, 1:46am UTC](https://meta.discourse.org/t/which-git-minimalism-allows-install-without-wasting-my-local-storage/383219 "2025-09-19T01:46:36Z")

</div>

It’s not clear among these choices diagrams didn’t help

---

## [Guidance for Setting Up Discourse: Hetzner VDS + Namecheap Private Email SMTP](https://meta.discourse.org/t/guidance-for-setting-up-discourse-hetzner-vds-namecheap-private-email-smtp/382532)

<div class="topic-metadata">

**Author:** [@Can](https://meta.discourse.org/u/Can)\
**Replies:** 11\
**Last updated:** [September 19, 2025, 1:11am UTC](https://meta.discourse.org/t/guidance-for-setting-up-discourse-hetzner-vds-namecheap-private-email-smtp/382532 "2025-09-19T01:11:59Z")

</div>

Hello, I am planning to set up a new Discourse forum and would like to clarify a few points: Server: I will purchase a VDS from Hetzner. Which operating system is recommended for Discourse? Email/SMTP: I’m considering…

---

## [Relation "discourse\_automation\_automations" restoring from 3.3beta1 to 3.5beta7](https://meta.discourse.org/t/relation-discourse-automation-automations-restoring-from-3-3beta1-to-3-5beta7/371519)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 6\
**Last updated:** [September 18, 2025, 9:14pm UTC](https://meta.discourse.org/t/relation-discourse-automation-automations-restoring-from-3-3beta1-to-3-5beta7/371519 "2025-09-18T21:14:17Z")

</div>

Trying to restore a database from \<meta name="generator" content="Discourse 3.3.0.beta1-dev - https://github.com/discourse/discourse version a4022f69f31af611bc0e21258b0ccb77dec38ba3"\> to current. I copied the same a…

---

## [The upgrade saga continues](https://meta.discourse.org/t/the-upgrade-saga-continues/380045)

<div class="topic-metadata">

**Author:** [@MikeNolan](https://meta.discourse.org/u/MikeNolan)\
**Replies:** 4\
**Last updated:** [September 17, 2025, 6:17pm UTC](https://meta.discourse.org/t/the-upgrade-saga-continues/380045 "2025-09-17T18:17:26Z")

</div>

I’ve got the upgrade mostly working. There are two Discourse communities on my server. Inbound email is working on the secondsite community but not on the first site, looking at the logs it shows incoming email is bein…

---

## [Clone to a new server; Change Domain; New Topic Asking for Login Everytime](https://meta.discourse.org/t/clone-to-a-new-server-change-domain-new-topic-asking-for-login-everytime/382874)

<div class="topic-metadata">

**Author:** [@marlinhares](https://meta.discourse.org/u/marlinhares)\
**Replies:** 4\
**Last updated:** [September 17, 2025, 1:45pm UTC](https://meta.discourse.org/t/clone-to-a-new-server-change-domain-new-topic-asking-for-login-everytime/382874 "2025-09-17T13:45:41Z")

</div>

hi, new to discourse. I need to clone an environment. What I did: rsync -a from dirs discourse\_docker and discourse\_volumes moved the dirs to a new server changed discourse\_docker/containers/app.yml (the domain name) …

---

## [LDAP Setup for Discourse](https://meta.discourse.org/t/ldap-setup-for-discourse/88349)

<div class="topic-metadata">

**Author:** [@pprp](https://meta.discourse.org/u/pprp)\
**Replies:** 33\
**Last updated:** [September 15, 2025, 9:25pm UTC](https://meta.discourse.org/t/ldap-setup-for-discourse/88349 "2025-09-15T21:25:33Z")

</div>

Hi, I have followed and added almost every thing (LDAP plugin and LDAP configuration at /admin/site\_settings/category/ldap) as per below links to set up LDAP for Discourse: https://github.com/jonmbake/discourse-ldap-a…

---

## [This site can’t be reached. The web page at might be temporarily down or it may have moved permanently to a new web address. ERR\_FAILED](https://meta.discourse.org/t/this-site-can-t-be-reached-the-web-page-at-might-be-temporarily-down-or-it-may-have-moved-permanently-to-a-new-web-address-err-failed/242583)

<div class="topic-metadata">

**Author:** [@asugar](https://meta.discourse.org/u/asugar)\
**Replies:** 12\
**Last updated:** [September 15, 2025, 6:29pm UTC](https://meta.discourse.org/t/this-site-can-t-be-reached-the-web-page-at-might-be-temporarily-down-or-it-may-have-moved-permanently-to-a-new-web-address-err-failed/242583 "2025-09-15T18:29:23Z")

</div>

I’m facing a weird issue. When I try to access a thread directly by entering the url in web browser it gives following error: This site can’t be reachedThe web page at https://mydomain.com/t/topic/37 might be temporaril…

---

## [Cannot rebuild app because Docker daemon API version is 1.43](https://meta.discourse.org/t/cannot-rebuild-app-because-docker-daemon-api-version-is-1-43/382535)

<div class="topic-metadata">

**Author:** [@Yt.w](https://meta.discourse.org/u/Yt.w)\
**Replies:** 4\
**Last updated:** [September 13, 2025, 7:40pm UTC](https://meta.discourse.org/t/cannot-rebuild-app-because-docker-daemon-api-version-is-1-43/382535 "2025-09-13T19:40:36Z")

</div>

Hello, I tried to do the solution by this My discourse forum crashed after upgrade to 3.5.0.beta8 but it does not works I am using Ubuntu 24.04.3 LTS, any one can help me?

---

## [Permisions errors with "./launcher rebuild app" on fresh install](https://meta.discourse.org/t/permisions-errors-with-launcher-rebuild-app-on-fresh-install/382462)

<div class="topic-metadata">

**Author:** [@uckelman](https://meta.discourse.org/u/uckelman)\
**Replies:** 6\
**Last updated:** [September 13, 2025, 12:28pm UTC](https://meta.discourse.org/t/permisions-errors-with-launcher-rebuild-app-on-fresh-install/382462 "2025-09-13T12:28:12Z")

</div>

I did: git clone https://github.com/discourse/discourse\_docker.git /var/discourse cd /var/discourse chmod 700 containers then my copied my old app.yml into containers and tried rebuilding the app: \[root@two discourse…

---

## [Upgrade to latest release failed 8/21/25](https://meta.discourse.org/t/upgrade-to-latest-release-failed-8-21-25/379559)

<div class="topic-metadata">

**Author:** [@MikeNolan](https://meta.discourse.org/u/MikeNolan)\
**Replies:** 11\
**Last updated:** [September 13, 2025, 10:28am UTC](https://meta.discourse.org/t/upgrade-to-latest-release-failed-8-21-25/379559 "2025-09-13T10:28:59Z")

</div>

The latest upgrade required rebuilding the app in launcher, but it failed. First it complained about having the adplugin as a separate install, so I removed that. Looks like then it failed trying to migrate the secon…

---

## [Launcher --docker-args ignored?](https://meta.discourse.org/t/launcher-docker-args-ignored/285205)

<div class="topic-metadata">

**Author:** [@nordize](https://meta.discourse.org/u/nordize)\
**Replies:** 1\
**Last updated:** [September 12, 2025, 7:58pm UTC](https://meta.discourse.org/t/launcher-docker-args-ignored/285205 "2025-09-12T19:58:52Z")

</div>

I tried ./launcher stop app and then ./launcher start app --docker-args --memory="1g" and it doesn’t appear to pass --memory=“1g” to docker as docker stats still shows LIMIT = all ram of the machine. Am I missing anythi…

---

## [How to Perform Major Discourse Maintenance with Minimal Downtime?](https://meta.discourse.org/t/how-to-perform-major-discourse-maintenance-with-minimal-downtime/381753)

<div class="topic-metadata">

**Author:** [@emonunix](https://meta.discourse.org/u/emonunix)\
**Replies:** 6\
**Last updated:** [September 6, 2025, 12:41am UTC](https://meta.discourse.org/t/how-to-perform-major-discourse-maintenance-with-minimal-downtime/381753 "2025-09-06T00:41:16Z")

</div>

I’d like to open a discussion on the best practices for performing core maintenance tasks on a Discourse instance while minimizing or eliminating downtime. Tasks like changing critical resource settings (e.g., UNICORN\_W…

---

## [Forum not working after update – what’s missing?](https://meta.discourse.org/t/forum-not-working-after-update-what-s-missing/381242)

<div class="topic-metadata">

**Author:** [@wenqin](https://meta.discourse.org/u/wenqin)\
**Replies:** 35\
**Last updated:** [September 4, 2025, 9:20am UTC](https://meta.discourse.org/t/forum-not-working-after-update-what-s-missing/381242 "2025-09-04T09:20:06Z")

</div>

I updated my forum today, and now it’s broken and cannot be used. What should I do? Is something missing?

---

## [Is it possible to install with IPv6 disabled? (Spoiler: I don't think so)](https://meta.discourse.org/t/is-it-possible-to-install-with-ipv6-disabled-spoiler-i-dont-think-so/381373)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 2\
**Last updated:** [September 2, 2025, 11:14pm UTC](https://meta.discourse.org/t/is-it-possible-to-install-with-ipv6-disabled-spoiler-i-dont-think-so/381373 "2025-09-02T23:14:50Z")

</div>

I see in the web template where it checks to see if /proc/net/if\_inet6 exists and turns off the listen for \[::\]:80, but there’s still one in the default nginx file. I added these to try to fix that: - exec: sed -i '/…

---

## [Install production ready stable on vps](https://meta.discourse.org/t/install-production-ready-stable-on-vps/381224)

<div class="topic-metadata">

**Author:** [@Ralph\_Bü](https://meta.discourse.org/u/Ralph_B%C3%BC)\
**Replies:** 1\
**Last updated:** [September 2, 2025, 5:39am UTC](https://meta.discourse.org/t/install-production-ready-stable-on-vps/381224 "2025-09-02T05:39:44Z")

</div>

Hi I follow this installationguide for vps cloud installation: Is there a option to have e stable-version of discourse in the repo sudo -s git clone GitHub - discourse/discourse\_docker: A Docker image for Discourse…

---

## [How to Install Discourse on an OVH VPS](https://meta.discourse.org/t/how-to-install-discourse-on-an-ovh-vps/381056)

<div class="topic-metadata">

**Author:** [@Murffy](https://meta.discourse.org/u/Murffy)\
**Replies:** 5\
**Last updated:** [September 1, 2025, 9:22pm UTC](https://meta.discourse.org/t/how-to-install-discourse-on-an-ovh-vps/381056 "2025-09-01T21:22:56Z")

</div>

Hello everyone, After struggling for a while to set up my VPS with Discourse, I decided to share a simple step-by-step guide to help you install Discourse on an OVH VPS. In my case, I’m using: An OVH VPS A domain…

---

## [Is there a recommended way to get pgvector on RDS?](https://meta.discourse.org/t/is-there-a-recommended-way-to-get-pgvector-on-rds/288641)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 9\
**Last updated:** [September 1, 2025, 4:18pm UTC](https://meta.discourse.org/t/is-there-a-recommended-way-to-get-pgvector-on-rds/288641 "2025-09-01T16:18:04Z")

</div>

Is there a recommended way to get pgvector on RDS? this page claims: The pgvector extension is available on all database instances in Amazon RDS running PostgreSQL 15.2 and higher in all AWS Regions, including the AWS…

---

## [Major upgrade -- best practices?](https://meta.discourse.org/t/major-upgrade-best-practices/380545)

<div class="topic-metadata">

**Author:** [@dylanb](https://meta.discourse.org/u/dylanb)\
**Replies:** 11\
**Last updated:** [August 29, 2025, 4:19pm UTC](https://meta.discourse.org/t/major-upgrade-best-practices/380545 "2025-08-29T16:19:56Z")

</div>

My Discourse installation has fallen out of date (3.2.0.beta4-dev) and I need to upgrade to 3.5. I am worried about disturbing things and use a few plugins/integrations that I haven’t wanted to change (WP Discourse, logi…

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

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