# Self-hosting

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

[最新版本](https://meta.discourse.org/latest.md) · [分類](https://meta.discourse.org/categories.md) · [標簽](https://meta.discourse.org/tags.md)

**Page:** 157

---

## [Test emails work fine but nothing else](https://meta.discourse.org/t/test-emails-work-fine-but-nothing-else/28214)

<div class="topic-metadata">

**Author:** [@norbauer](https://meta.discourse.org/u/norbauer)\
**回覆:** 6\
**Last updated:** [2015年五月2日 04:56 UTC](https://meta.discourse.org/t/test-emails-work-fine-but-nothing-else/28214 "2015-05-02T04:56:09Z")

</div>

Hi all! Discourse is awesome, but I’m having trouble getting emails working. I have installed to Azure using a Bitnami VM. I’m on Discourse v1.2.3, and I’m using Mandrill for mail delivery. I went through all the email…

---

## [Programmatic configuration of a new Discourse site](https://meta.discourse.org/t/programmatic-configuration-of-a-new-discourse-site/24499)

<div class="topic-metadata">

**Author:** [@ahuling](https://meta.discourse.org/u/ahuling)\
**回覆:** 9\
**Last updated:** [2015年四月30日 22:32 UTC](https://meta.discourse.org/t/programmatic-configuration-of-a-new-discourse-site/24499 "2015-04-30T22:32:17Z")

</div>

Is it possible to programmatically configure a new site via the API?

---

## [Bootstrapping Discourse hangs on Redis "ready to accept connections" on Amazon EC2](https://meta.discourse.org/t/bootstrapping-discourse-hangs-on-redis-ready-to-accept-connections-on-amazon-ec2/27950)

<div class="topic-metadata">

**Author:** [@dgs](https://meta.discourse.org/u/dgs)\
**回覆:** 9\
**Last updated:** [2015年四月27日 21:08 UTC](https://meta.discourse.org/t/bootstrapping-discourse-hangs-on-redis-ready-to-accept-connections-on-amazon-ec2/27950 "2015-04-27T21:08:19Z")

</div>

Hello, First timer here, have been following the instructions here: discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub but I’m doing it on an Amazon EC2 instance instead of a Digital Ocean droplet. I…

---

## [Discourse not showing up at specified hostname](https://meta.discourse.org/t/discourse-not-showing-up-at-specified-hostname/27969)

<div class="topic-metadata">

**Author:** [@PopsRocker](https://meta.discourse.org/u/PopsRocker)\
**回覆:** 6\
**Last updated:** [2015年四月27日 05:16 UTC](https://meta.discourse.org/t/discourse-not-showing-up-at-specified-hostname/27969 "2015-04-27T05:16:33Z")

</div>

Hello, I just ran through the installation steps and all appears to be fine in the server terminal. However when I go to the URL I added for the DISCOURSE\_HOSTNAME I am getting the default splash page when I set up a ne…

---

## [General system administration on Digital Ocean droplet?](https://meta.discourse.org/t/general-system-administration-on-digital-ocean-droplet/27955)

<div class="topic-metadata">

**Author:** [@Benno](https://meta.discourse.org/u/Benno)\
**回覆:** 3\
**Last updated:** [2015年四月25日 18:44 UTC](https://meta.discourse.org/t/general-system-administration-on-digital-ocean-droplet/27955 "2015-04-25T18:44:29Z")

</div>

Outside of managing Discourse (updates, plug-ins, backups), how much system administration is require when using a Digital Ocean droplet to host Discourse? Do you need to do your own OS and other security and maintenanc…

---

## [Trouble with \`rake db:migrate\` and AWS S3](https://meta.discourse.org/t/trouble-with-rake-db-migrate-and-aws-s3/24318)

<div class="topic-metadata">

**Author:** [@kinosang](https://meta.discourse.org/u/kinosang)\
**回覆:** 6\
**Last updated:** [2015年一月25日 19:06 UTC](https://meta.discourse.org/t/trouble-with-rake-db-migrate-and-aws-s3/24318 "2015-01-25T19:06:37Z")

</div>

Update 2015-01-26 06:55 UTC : rake db:migrate works well now, this problem is caused by invalid format strings in yaml file. I’ve already check my database connection information again and again, but it still return: T…

---

## [How to upgrade DO to higher plan?](https://meta.discourse.org/t/how-to-upgrade-do-to-higher-plan/27817)

<div class="topic-metadata">

**Author:** [@trandatnh](https://meta.discourse.org/u/trandatnh)\
**回覆:** 3\
**Last updated:** [2015年四月22日 03:06 UTC](https://meta.discourse.org/t/how-to-upgrade-do-to-higher-plan/27817 "2015-04-22T03:06:32Z")

</div>

I’m using DO $10 plan for my forum. However, the forum is quite lagging when there are around 20-40 concurrent users. I am going to upgrade DO to $20 plan, could anyone guide me an easy way to upgrade to new plan with le…

---

## [How to forbid direct IP visit to discourse?](https://meta.discourse.org/t/how-to-forbid-direct-ip-visit-to-discourse/27797)

<div class="topic-metadata">

**Author:** [@doudou](https://meta.discourse.org/u/doudou)\
**回覆:** 5\
**Last updated:** [2015年四月21日 19:30 UTC](https://meta.discourse.org/t/how-to-forbid-direct-ip-visit-to-discourse/27797 "2015-04-21T19:30:59Z")

</div>

If just only discourse installed on a server, and expose 80 to host, how to forbid direct IP visit to discourse? If someone visit the direct ip address, how to make it return 500 error. like: server { listen 80 defau…

---

## [What makes discourse.org hosting better than Communiteq, if anything?](https://meta.discourse.org/t/what-makes-discourse-org-hosting-better-than-communiteq-if-anything/27526)

<div class="topic-metadata">

**Author:** [@slobizman](https://meta.discourse.org/u/slobizman)\
**回覆:** 23\
**Last updated:** [2015年四月17日 23:33 UTC](https://meta.discourse.org/t/what-makes-discourse-org-hosting-better-than-communiteq-if-anything/27526 "2015-04-17T23:33:05Z")

</div>

I’m looking at hosting options at discourse.org and Communiteq (formerly DiscourseHosting). Not interested in Digital Ocean as I want support. Hosting at discourse.org is considerably more expensive than at Communiteq (…

---

## [Is it necessary to install nginx in front of docker?](https://meta.discourse.org/t/is-it-necessary-to-install-nginx-in-front-of-docker/27450)

<div class="topic-metadata">

**Author:** [@doudou](https://meta.discourse.org/u/doudou)\
**回覆:** 4\
**Last updated:** [2015年四月12日 01:29 UTC](https://meta.discourse.org/t/is-it-necessary-to-install-nginx-in-front-of-docker/27450 "2015-04-12T01:29:19Z")

</div>

As we know, nginx has installed in discourse docker, plan 1: If you install discourse on a machine, and expose 80 port external, plan 2: If you install discourse on a machine, and expose non 80 port external, like port…

---

## [Vgrant: ohai requires Ruby version \>= 2.0.0](https://meta.discourse.org/t/vgrant-ohai-requires-ruby-version-2-0-0/27465)

<div class="topic-metadata">

**Author:** [@rubo77](https://meta.discourse.org/u/rubo77)\
**回覆:** 3\
**Last updated:** [2015年四月12日 00:16 UTC](https://meta.discourse.org/t/vgrant-ohai-requires-ruby-version-2-0-0/27465 "2015-04-12T00:16:27Z")

</div>

I tried to run discourse in a VM via the Vagrantfile: https://github.com/discourse/discourse/blob/master/Vagrantfile After enabling Virtualization in my BIOS settings of my computer, the installation started to work fin…

---

## [Dockerless Install Script](https://meta.discourse.org/t/dockerless-install-script/26713)

<div class="topic-metadata">

**Author:** [@pl3bs](https://meta.discourse.org/u/pl3bs)\
**回覆:** 1\
**Last updated:** [2015年四月7日 22:30 UTC](https://meta.discourse.org/t/dockerless-install-script/26713 "2015-04-07T22:30:56Z")

</div>

Purpose## I’ve been working on figuring the ins-outs of installing discourse on VPS that doesn’t support docker. The issue with discourse currently is that it’s a bit of an advanced install without docker. The issue with…

---

## [What to make of the Google Cloud Container announcement](https://meta.discourse.org/t/what-to-make-of-the-google-cloud-container-announcement/21866)

<div class="topic-metadata">

**Author:** [@TheLoneCuber](https://meta.discourse.org/u/TheLoneCuber)\
**回覆:** 2\
**Last updated:** [2015年四月6日 18:59 UTC](https://meta.discourse.org/t/what-to-make-of-the-google-cloud-container-announcement/21866 "2015-04-06T18:59:40Z")

</div>

I’ve saw seen a flurry of tweets about the Google Cloud Contain Engine announcement, especially in reference to Docker. The Container Engine is clearly labelled “Alpha”, but apart from that label, is it Discourse-ready? …

---

## [Docker setup for App and Redis](https://meta.discourse.org/t/docker-setup-for-app-and-redis/27110)

<div class="topic-metadata">

**Author:** [@nileshtrivedi](https://meta.discourse.org/u/nileshtrivedi)\
**回覆:** 6\
**Last updated:** [2015年四月6日 05:27 UTC](https://meta.discourse.org/t/docker-setup-for-app-and-redis/27110 "2015-04-06T05:27:46Z")

</div>

In discourse\_docker repo, there exist sample files standalone.yml - which includes Discourse, Postgres, Redis. And there is web\_only.yml which contains Discourse but not Postgres and Redis. How do I make a template so t…

---

## [\[Solved\]Bootstrap fails, Postgres already running](https://meta.discourse.org/t/solved-bootstrap-fails-postgres-already-running/20041)

<div class="topic-metadata">

**Author:** [@lolmewn](https://meta.discourse.org/u/lolmewn)\
**回覆:** 20\
**Last updated:** [2015年三月30日 03:39 UTC](https://meta.discourse.org/t/solved-bootstrap-fails-postgres-already-running/20041 "2015-03-30T03:39:44Z")

</div>

Hi, I’m attempting to install Discourse, but am failing so far. It appears that bootstrapping doesn’t want to… bootstrap? Anyhow, I read a couple of other threads about it and tried “./launcher rebuild app”, which gave…

---

## [What sort of support do paid plans provide vs. one-time install?](https://meta.discourse.org/t/what-sort-of-support-do-paid-plans-provide-vs-one-time-install/27122)

<div class="topic-metadata">

**Author:** [@developvr](https://meta.discourse.org/u/developvr)\
**回覆:** 4\
**Last updated:** [2015年四月3日 13:55 UTC](https://meta.discourse.org/t/what-sort-of-support-do-paid-plans-provide-vs-one-time-install/27122 "2015-04-03T13:55:47Z")

</div>

I’m referring to the Pro and Business plans. What do these paid plans offer in terms of support? I’m asking because the one-time install mentions “self-support”. Does the one-time install have the capability to update t…

---

## [Cheap Vps Needed](https://meta.discourse.org/t/cheap-vps-needed/27134)

<div class="topic-metadata">

**Author:** [@DevPre](https://meta.discourse.org/u/DevPre)\
**回覆:** 5\
**Last updated:** [2015年五月8日 07:49 UTC](https://meta.discourse.org/t/cheap-vps-needed/27134 "2015-05-08T07:49:18Z")

</div>

I need a cheap vps in europe, with docker support, swap enabled and 1 or 2 gb of ram.

---

## [Automating the creation of new sites on a multi-site install](https://meta.discourse.org/t/automating-the-creation-of-new-sites-on-a-multi-site-install/24497)

<div class="topic-metadata">

**Author:** [@ahuling](https://meta.discourse.org/u/ahuling)\
**回覆:** 1\
**Last updated:** [2015年四月2日 08:57 UTC](https://meta.discourse.org/t/automating-the-creation-of-new-sites-on-a-multi-site-install/24497 "2015-04-02T08:57:00Z")

</div>

What is the best way to automate the creation of new sites on a multi-site install? Is there an API call that will create a new site? Some other method?

---

## [Activate button doesn't work](https://meta.discourse.org/t/activate-button-doesnt-work/27011)

<div class="topic-metadata">

**Author:** [@hongquan](https://meta.discourse.org/u/hongquan)\
**回覆:** 4\
**Last updated:** [2015年四月1日 03:39 UTC](https://meta.discourse.org/t/activate-button-doesnt-work/27011 "2015-04-01T03:39:14Z")

</div>

I setup Discourse in localhost, but in production mode, with Passenger & Nginx. Action mailer is setup with mailtrap.io. I create account and get activation email. I click to the link and is brought to activate page wit…

---

## [Bootstrap docker error](https://meta.discourse.org/t/bootstrap-docker-error/27048)

<div class="topic-metadata">

**Author:** [@Chaka](https://meta.discourse.org/u/Chaka)\
**回覆:** 1\
**Last updated:** [2015年四月1日 03:24 UTC](https://meta.discourse.org/t/bootstrap-docker-error/27048 "2015-04-01T03:24:59Z")

</div>

When I run ./launcher bootstrap app I get Device "docker0" does not exist I then try to start the docker daemon with sudo service docker start I then get this Starting cgconfig service: Error: cannot mount cpuset to /c…

---

## [403 forbidden after installation](https://meta.discourse.org/t/403-forbidden-after-installation/27028)

<div class="topic-metadata">

**Author:** [@Elano](https://meta.discourse.org/u/Elano)\
**回覆:** 4\
**Last updated:** [2015年三月31日 19:48 UTC](https://meta.discourse.org/t/403-forbidden-after-installation/27028 "2015-03-31T19:48:10Z")

</div>

Hello! I’m a newbie in this kind of installation and I saw this forum “Discourse” like a month ago and today I tried to install it on my website but something went wrong… ^^’ I use Debian so I followed this Discourse o…

---

## [Migration service failed to map some topics to categories](https://meta.discourse.org/t/migration-service-failed-to-map-some-topics-to-categories/26881)

<div class="topic-metadata">

**Author:** [@dugjason](https://meta.discourse.org/u/dugjason)\
**回覆:** 3\
**Last updated:** [2015年三月30日 19:12 UTC](https://meta.discourse.org/t/migration-service-failed-to-map-some-topics-to-categories/26881 "2015-03-30T19:12:25Z")

</div>

We used the hosted migration service to move existing content over from Drupal to Discourse; I spotted some cases where topics had not been mapped to a category within Discourse. This in turn caused UI issues when viewin…

---

## [Intranet integration](https://meta.discourse.org/t/intranet-integration/26906)

<div class="topic-metadata">

**Author:** [@Batista](https://meta.discourse.org/u/Batista)\
**回覆:** 2\
**Last updated:** [2015年三月28日 18:16 UTC](https://meta.discourse.org/t/intranet-integration/26906 "2015-03-28T18:16:29Z")

</div>

Hello, Could it run under HTTPS intranet standard like https://discourse\_cz.domain.cz ?

---

## [How to force redirect from https to http on Docker installation](https://meta.discourse.org/t/how-to-force-redirect-from-https-to-http-on-docker-installation/26885)

<div class="topic-metadata">

**Author:** [@kennym](https://meta.discourse.org/u/kennym)\
**回覆:** 1\
**Last updated:** [2015年三月27日 20:25 UTC](https://meta.discourse.org/t/how-to-force-redirect-from-https-to-http-on-docker-installation/26885 "2015-03-27T20:25:18Z")

</div>

I have setup Discourse on Digital Ocean with Docker, and it’s sending out with URLs that point to the https version of the site, however it’s not setup yet. Meanwhile they get a blank page - is there a way to tell nginx …

---

## [Bootstrapping fails - trying to install postgress in /shared?](https://meta.discourse.org/t/bootstrapping-fails-trying-to-install-postgress-in-shared/26848)

<div class="topic-metadata">

**Author:** [@RubyRhod](https://meta.discourse.org/u/RubyRhod)\
**回覆:** 1\
**Last updated:** [2015年三月26日 21:58 UTC](https://meta.discourse.org/t/bootstrapping-fails-trying-to-install-postgress-in-shared/26848 "2015-03-26T21:58:35Z")

</div>

Hi, I’ve successfully got docker up and running on a Centos 7 VM, and am following the instructions at https://github.com/discourse/discourse/blob/master/docs/INSTALL-digital-ocean.md The server is a clean install, min…

---

## [Stylesheet cache in multi-server setup](https://meta.discourse.org/t/stylesheet-cache-in-multi-server-setup/24820)

<div class="topic-metadata">

**Author:** [@harto](https://meta.discourse.org/u/harto)\
**回覆:** 10\
**Last updated:** [2015年三月26日 14:25 UTC](https://meta.discourse.org/t/stylesheet-cache-in-multi-server-setup/24820 "2015-03-26T14:25:08Z")

</div>

Hello, We’re running Discourse using AWS Elastic Beanstalk’s Docker environment, with a single Docker container running on each of 2 (or more) servers. We noticed that the main stylesheet is 404ing about 50% of the tim…

---

## [Installing Discourse on a website running Wordpress](https://meta.discourse.org/t/installing-discourse-on-a-website-running-wordpress/26728)

<div class="topic-metadata">

**Author:** [@mikeem](https://meta.discourse.org/u/mikeem)\
**回覆:** 5\
**Last updated:** [2015年三月26日 12:16 UTC](https://meta.discourse.org/t/installing-discourse-on-a-website-running-wordpress/26728 "2015-03-26T12:16:29Z")

</div>

Hi, I’ve a wordpress instillation on a digitalocean droplet (multisite configuration and on Apache server) and I’d like to add Discourse. So my site is www.example.com and hosts my blog. I want Discourse on www.discour…

---

## [Can't make Discourse accessible through Apache](https://meta.discourse.org/t/cant-make-discourse-accessible-through-apache/26775)

<div class="topic-metadata">

**Author:** [@souljacker](https://meta.discourse.org/u/souljacker)\
**回覆:** 7\
**Last updated:** [2015年三月26日 06:52 UTC](https://meta.discourse.org/t/cant-make-discourse-accessible-through-apache/26775 "2015-03-26T06:52:26Z")

</div>

Hi, guys! I’m a complete noob, so I apologize in advance for any stupid question. I’m trying to install Discourse in my Digital Ocean LAMP Ubuntu Droplet. I tried the instructions (and the tips here http://mdworld.nl/…

---

## [Page 404 not found](https://meta.discourse.org/t/page-404-not-found/26780)

<div class="topic-metadata">

**Author:** [@rnovino](https://meta.discourse.org/u/rnovino)\
**回覆:** 2\
**Last updated:** [2015年三月25日 22:39 UTC](https://meta.discourse.org/t/page-404-not-found/26780 "2015-03-25T22:39:18Z")

</div>

after following the tutorial here https://github.com/discourse/discourse/blob/master/docs/INSTALL-digital-ocean.md it still shows 404 not found :frowning: how to fix this I have a nginx running on my server with also a w…

---

## [Hosting - what counts as a page impression for billing?](https://meta.discourse.org/t/hosting-what-counts-as-a-page-impression-for-billing/26714)

<div class="topic-metadata">

**Author:** [@rhulse](https://meta.discourse.org/u/rhulse)\
**回覆:** 3\
**Last updated:** [2015年三月25日 04:33 UTC](https://meta.discourse.org/t/hosting-what-counts-as-a-page-impression-for-billing/26714 "2015-03-25T04:33:09Z")

</div>

We are looking at using Discourse, and will embed the output of topics on certain pages. We frequently have pages with 10s of 000s of views so this could have a big impact on which plan we should be on. I presume I’m cor…

[上一頁](https://meta.discourse.org/c/support/self-hosting/31.md?page=155)

[下一頁](https://meta.discourse.org/c/support/self-hosting/31.md?page=157)
