Question

How to set up a SiteURL for a Mattermost server

I am setting up a Mattermost server for a 30 day trial on my droplet and a SiteURL is required for clients to connect to it. They give an example of: “https://mattermost.example.com” but no details of exactly what’s required. I was hoping to use the IP address.

I’m a retired unix/linux programmer but I don’t have much sys admin experience except on my own computers.

Can I just set up hostname or set the dnsdomainname to something? Do I need to run a web server? Do I need to purchase a unique domain name? I’m trying to find the easiest, most simple way to try this out.


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

alexdo
Site Moderator
Site Moderator badge
July 13, 2020
Accepted Answer

Hello, @ethorsen1

What I can also suggest you is to use our one-click install droplet for Mattermost via the marketplace page. You can check it here:

https://marketplace.digitalocean.com/apps/mattermost

After you create a Mattermost One-Click Droplet, log in to it with your configured SSH key and follow the instructions for the initial setup. The installer will request the following information:

  • Fully-qualified Domain Name for the Droplet. This is not configured as part of the Droplet creation - you must point it to Droplet IP.
  • MySQL Mattermost Password
  • MySQL Root Password
  • (Optional) Email. Used for LetsEncrypt Registration. If set, a confirmation is requested before submitting to LetsEncrypt.Please configure a secure password for both MySQL accounts with a password manager of your choice and store them securely.

Note: If you are not using the LetsEncrypt integration, you’ll need to manually configure the NGINX config that is located at “/etc/nginx/sites-enabled/mattermost” to point to the correct certificates. Afterwards, restart NGINX with “sudo systemctl restart nginx”.

After you finished the set up steps, open your configured domain and create your administrator account. Follow the Mattermost documentation for Getting Started here: https://docs.mattermost.com/deployment/on-boarding.html#getting-started-tasks

Hope that helps!

Regards, Alex

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel