# Do I need a VPS for Discourse and do I host the main site on the same server?

**URL:** <https://meta.discourse.org/t/do-i-need-a-vps-for-discourse-and-do-i-host-the-main-site-on-the-same-server/15774>\
**Category:** Self-hosting\
**Tags:** hosting\
**Created:** [May 19, 2014, 6:20pm UTC](https://meta.discourse.org/t/do-i-need-a-vps-for-discourse-and-do-i-host-the-main-site-on-the-same-server/15774 "2014-05-19T18:20:21Z")\
**Posts on this page:** 7\
**Page:** 1

## AI-generated summary

[Namorbia](/t/-/15774/1), a novice host, seeks guidance on whether a VPS is mandatory for running Discourse alongside a WordPress site, specifically concerned about the 1 GB RAM requirement and costs for a bilingual authority site. They initially assumed bilingual support required two separate Discourse installations, increasing resource needs. [codinghorror](/t/-/15774/2) clarifies that basic hosting starts at $10/month and links to installation guides, while questioning the definition of "bilingual." [Namorbia](/t/-/15774/3) follows up asking if the main site can share the same Digital Ocean droplet and clarifies their intent to use one forum with language-separated sections rather than two distinct instances. [tobiaseigen](/t/-/15774/4) confirms that multiple virtual hosts work on a single droplet but recommends a dedicated droplet for Discourse due to its unique Ruby on Rails requirements compared to standard LAMP sites. Addressing the resource concern, [Sander78](/t/-/15774/5) corrects the misconception that multiple instances linearly increase resource usage, noting they successfully run five small Discourse forums on a single 1 GB VPS using the multisite Docker option. When asked for specifics by [codinghorror](/t/-/15774/6), [Sander78](/t/-/15774/7) shares memory statistics showing the 1 GB box utilizes approximately 733 MB of RAM with 227 MB of swap for these five forums, confirming the setup is stable for smaller, internal communities.

<div class="post-metadata">

**Author:** ![Namorbia](https://avatars.discourse-cdn.com/v4/letter/n/48db29/32.png) [@Namorbia](https://meta.discourse.org/u/Namorbia)\
**Post date:** [May 19, 2014, 6:20pm UTC](https://meta.discourse.org/t/do-i-need-a-vps-for-discourse-and-do-i-host-the-main-site-on-the-same-server/15774/1 "2014-05-19T18:20:21Z")

</div>

I know nothing about hosting. Please explain this to me like I’m a dummy.

Discourse requires 1 GB of RAM and runs on Ruby on Rails. Apparently those are quite high requirements for a server.

Do you have to host Discourse on a VPS? If not, what other options are there?

If you host Discourse on a VPS, do you host the main site there also? Or does it go on some separate hosting, like cheap shared hosting?

I’m aiming to build an “authority site” using WordPress, which doesn’t require a lot of resources. (The niche isn’t big). But Discourse requires more, so now I need to understand more about hosting beyond the simple shared hosting plans. I have no idea how much traffic I could ideally get, but probably not a lot over 10,000 registered users (compared this to other forums). The site will be bilingual, so two installations of Discourse are required, which ups the resource usage.

I probably won’t be monetizing the site in any way, so I’ll pay everything myself and thus am a bit concerned about all the costs. I simply love this niche and plan to write about it and enjoy it for the rest of my life.

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [May 19, 2014, 6:25pm UTC](https://meta.discourse.org/t/do-i-need-a-vps-for-discourse-and-do-i-host-the-main-site-on-the-same-server/15774/2 "2014-05-19T18:25:59Z")

</div>

See

> **[Install Discourse in Under 30 Minutes](https://blog.discourse.org/2014/04/install-discourse-in-under-30-minutes/)**
>
> A few key things came together recently:

Basic hosting cost is $10/month.

What do you mean by “bilingual” exactly?

---

<div class="post-metadata">

**Author:** ![Namorbia](https://avatars.discourse-cdn.com/v4/letter/n/48db29/32.png) [@Namorbia](https://meta.discourse.org/u/Namorbia)\
**Post date:** [May 19, 2014, 8:09pm UTC](https://meta.discourse.org/t/do-i-need-a-vps-for-discourse-and-do-i-host-the-main-site-on-the-same-server/15774/3 "2014-05-19T20:09:23Z")

</div>

Thank you. That seems simpler and cheaper than I thought. The instructions look great.

Would you recommend hosting the main site at a separate hosting company? Or could I have the main site installed at Digital Ocean also in the same “droplet”?

By bilingual I mean that the main site will be in English and Japanese and the forums too. I first thought that I’d make two separate forums – one in English and one in Japanese. But maybe it’s possible to use one forum and somehow separate sections for English and Japanese. And let the user choose the interface language (whenever the translation of Discourse gets ready). I don’t if that’s possible, though, and I haven’t thought much about it yet.

---

<div class="post-metadata">

**Author:** ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)\
**Post date:** [May 19, 2014, 9:49pm UTC](https://meta.discourse.org/t/do-i-need-a-vps-for-discourse-and-do-i-host-the-main-site-on-the-same-server/15774/4 "2014-05-19T21:49:35Z")

</div>

I’ve been experimenting with multiple vhosts on one droplet, and it works fine.

> **[How To Set Up Apache Virtual Hosts on Ubuntu 12.04 LTS | DigitalOcean](https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-12-04-lts)**
>
> This tutorial shows you how to set up a new directory, how to grant the correct permissions, how to add content to a new page, how to turn on virtual hosting…

But I do have my discourse on its own droplet because of its particular server requirements which are a little different from my other sites, which are mostly LAMP sites (drupal, wordpress). This also makes it easier to copy a droplet for development purposes without worrying about the other sites.

---

<div class="post-metadata">

**Author:** ![Sander78](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sander78/32/296615_2.png) [@Sander78](https://meta.discourse.org/u/Sander78)\
**Post date:** [May 20, 2014, 9:15am UTC](https://meta.discourse.org/t/do-i-need-a-vps-for-discourse-and-do-i-host-the-main-site-on-the-same-server/15774/5 "2014-05-20T09:15:37Z")

</div>

> [@Namorbia](#):
>
> The site will be bilingual, so two installations of Discourse are required, which ups the resource usage.

Is doesn’t really. Using the multisite option the formula is not `amount-of-Discourse-instances` times `resources needed`.

I run 5 Discourse instances on a single 1Gb Digital Ocean VPS just fine. Of course those are small fora, the needed resources get higher when you get (a lot) more users.

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [May 20, 2014, 9:20am UTC](https://meta.discourse.org/t/do-i-need-a-vps-for-discourse-and-do-i-host-the-main-site-on-the-same-server/15774/6 "2014-05-20T09:20:11Z")

</div>

There is a howto in the (wait for it..) howto category which covers how to set up multiple Discourse instances (multisite) on the Docker install.

I am curious, can you share the Linux memory stats of this 1gb box with the 5 small Discourse forums?

---

<div class="post-metadata">

**Author:** ![Sander78](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sander78/32/296615_2.png) [@Sander78](https://meta.discourse.org/u/Sander78)\
**Post date:** [May 20, 2014, 9:32am UTC](https://meta.discourse.org/t/do-i-need-a-vps-for-discourse-and-do-i-host-the-main-site-on-the-same-server/15774/7 "2014-05-20T09:32:20Z")

</div>

> [@codinghorror](#):
>
> I am curious, can you share the Linux memory stats of this 1gb box with the 5 small Discourse forums?

Results of `free -t -m`:

```plaintext
             total used free shared buffers cached
Mem: 994 854 140 40 19 101
-/+ buffers/cache: 733 261
Swap: 1023 227 796
Total: 2018 1081 937

```

This VPS is dedicated for Discourse (Docker), no other processes. And the forums are quite speedy. But keep in mind: they’re really small, used for internal team conversations. Yet quite busy though.
