Documentation & Tutorials

How to create your own forum with Discourse

How to use the Discourse forum InstantApp

This page shows you how to use the Discourse forum InstantApp on your C1 server.


Discourse is an open source Internet forum software application. Discourse breaks with existing forum software by including features recently popularized by large social networks.

There are four steps to deploy the Discourse InstantApp

  • Create and start a new cloud server
  • Open the mail ports to send e-mail
  • Log into Discourse
  • Make your account admin

Step 1 - Create the Discourse server

Before starting, click the “Create Server” button in the control panel.

Control Panel

You will land on the server-creation page where you must input basic information for your server:

  • The name of your server
  • The tag you want to assign to it (Optional). Tags let you organize your servers, you can assign any tag to each server.

Create server basic information

After inputting your server basic information, you have to select the Discourse application image for your server.
On the ImageHub tab, select Discourse. The server will be created with a ready to use Discourse forum.

Click the “Create Server” button, this action creates and starts your server.

Step 2 - Open the mail ports to send e-mail

To avoid spam, remote mail ports cannot be reached from our infrastructure by default. As Discourse requires to send mail, we need to open them. Your account needs to be validated to perform this operation. To get your account reviewed, please contact our assistance.

On the left panel of the Control Panel, click on “Security”, you will land on the security-groups page. Click the “Create Group” button and input the security group name and description.

Create security group

Then, on the Discourse security group, set “Block SMTP” to No.

Configure security group

Back to the server view, click the “Show” button to display advanced options and select the security group you previously create. Restart your server to apply the change.

Step 3 - Log into Discourse

Your Discourse C1 server is now configured and ready to use. When your server is running, copy its public IP address and paste it in your favorite browser.

Create a new account.

Discourse account

Step 4 - Make your account admin

Connect your server via SSH ssh root@server-ip and change for the Discourse user su discourse.

In the Discourse repository cd /var/www/discourse run the following command:

RAILS_ENV=production bundle exec rails c

# Administratorize yourself:
# (in rails console)

> me = User.find_by_username_or_email('your-email-address')
> me.activate
> me.admin = true
> exit

# Mark yourself as the 'system user':

> SiteSetting.site_contact_username = me.username

Exit the rails console. Your Discourse C1 is now configured and you are admin on it. You can enjoy it and customize it through the Admin panel.

Discover a New Cloud Experience

Deploy SSD Cloud Servers in seconds.