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.

Subscribe
Share

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

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.

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