Self-Hosting Discourse Just Got a Whole Lot Easier

We’re excited to announce a major update to how you can self-host Discourse. Whether you’ve been curious about running your own Discourse instance or found the setup process daunting in the past, today’s changes are for you.

Install Discourse with a Single Command

Setting up Discourse on your own server is now as simple as running one command:

wget -qO- https://raw.githubusercontent.com/discourse/discourse_docker/main/install-discourse | sudo bash

That’s it. Run this on a fresh server, and you’ll have a working Discourse installation. No more juggling configuration files or following lengthy setup guides.

SMTP is now optional

As @codinghorror once put it:

To alleviate this, we’ve made SMTP optional. The new installer allows you to skip SMTP setup entirely by relying on Discourse ID for login.

SMTP setup was always the number one issue people setting up Discourse for the first time struggled with, so we are excited to finally remove this hurdle in our install.

Free Subdomain with Discourse ID

With SMTP solved, we aimed for the next hurdle: getting a domain. You’d need to purchase a domain, configure DNS records, and wait… all before even seeing Discourse run.

We’ve solved this. When you run the installer and don’t have a domain ready, we’ll guide you to claim a free discourse.diy subdomain through your Discourse ID account. This means you can have your community up and running in minutes, not hours.

Already have your own domain? Great, the installer supports that too! But if you just want to try things out or get started quickly, we’ve got you covered.

A Friendlier Setup Experience

The new installer also features a new interactive wizard, with fewer steps and built with newer tech that will allow us to keep iterating on it.

What You Need

To self-host Discourse, you’ll need:

  • A cloud server (from providers like DigitalOcean, AWS, Vultr, or similar)
  • About 10 minutes of your time

That’s the new bar for entry. We’ve worked hard to remove the friction so you can focus on building your community.

Get Started

Ready to try it out? Head over to our updated installation guide for step-by-step instructions.

If you run into any issues or have feedback, let us know in this topic. We’d love to hear about your experience with the new installer.


This update is part of our ongoing effort to make Discourse more accessible to everyone, whether you’re running a community on our hosted platform or on your own infrastructure.

29 Likes

Amazing! :exploding_head: I love this and look forward to trying it.

Time to amend the original Install Discourse in Under 30 Minutes blog post. I guess this is like juggling without a chainsaw!

8 Likes

This is great, congratulations! :sparkles::folded_hands:

2 Likes

This has got to be the greatest improvement in discourse since its inception. Godspeed discourse :rocket:

2 Likes

Absolutely great that SMTP is no longer required, that’s forever been my biggest issue with Discourse setup.

2 Likes

Excellent!! This is a huge step! Love discourse and i love that this will hopefully make it more accessible to everyone!

1 Like

This is terrific!

Chefs Kiss French Chef

Just to be clear, we still need to configure SMTP to send emails, right? The SMTP skip is solely for the installation part? As a non-tech-savvy user, how the post is written casts some doubts :smile:

3 Likes

Yes, you still need SMTP to send emails, but with the availability of web push notifications, Discourse can be fully enjoyed without emails. I’ve been doing that for years, and we have many customers who opted out of emails completely too.

SMTP will be fully supported but won’t be a blocker anymore.

3 Likes

Wow. Talk about a streamlined install! This makes it much less daunting for new self-hosters now.

Is there a timeout to until when this domain is usable? Or can it be used “forever”?

2 Likes

About the diy subdomain, what if we want to migrate to our own domain later? Is a redirection possible?

2 Likes

We discussed this on our call today, general thinking is.

  1. To use the domain … domain MUST be available on the Internet.
  2. A Discourse site must be reachable on that IP. (check regularly, if not available for a week, disable)

Then if for any reason a high value name like cars.discourse.diy no longer hosts a Discourse site, we reserve the rights to pull it back and deactivate from DNS.

Any site that was once active (eg 20 topics) will no not be reused, so becoming inactive for a long period of time will simply disable it. And allow original Discourse ID owner to re-enable manually.

We are sorting out nits with these rules, but the intent is that these domains are for active Discourse sites available on the Internet. Do not use these on an Intranet.

2 Likes

I think I phrased my question the wrong way :sweat_smile:. Is it possible for the self-hoster to use the discourse.diy domain forever for their forum? Or is there only up to a certain time when they can use it (e.g. for 3 months)?

1 Like

the plan is “forever” but we reserve the rights to pull it.

For example:

  • we will pull sites that are hate sites, we do not want to put them on the diy brand.
  • we will pull records on sites that are dead … so it does not resolve to a dead IP or one not running a Discourse site.
2 Likes