No remote access using omnibus mattermost

Summary
Mattermost installed on Ubuntu VM using omnibus runs on Local_IPadress : 8065, but not with my domain name

Steps to reproduce

  • Ubuntu 20.04.6 LTS virtual Machine running on Parallels Desktop 17 (Mac-mini 7.1)
  • Mattermost installation using omnibus
  • mmomni.yml file filled with a domain name “a…d.fr” I own on Gandi.net

Expected behavior

  • Access OK using local IP 192.168.1.xxx :8065
  • No Access using http://a…d.fr or http://a…d.fr:8065

Observed behavior

  • Message " [[WARNING]: provided hosts list is empty, only localhost is available]" after command “sudo mmomni reconfigure”

Hi algaillard,

Thank you for reaching out and providing detailed information about your issue. I’m sorry to hear you’re having trouble connecting to your Mattermost installation via your domain name.

Based on the description given, it might be a DNS issue. This happens when your domain name is not properly mapped to the IP address of your VM. Here are some steps you can try:

  1. Please verify if your domain name is correctly pointing to the IP of your Ubuntu VM. You can use online tools like ping, nslookup, or dig with your domain name to confirm this.

  2. If the domain name does correctly resolve to the Ubuntu VM’s IP but you still can’t access Mattermost, there might be some configuration issues with your Mattermost setup. Can you confirm if your mmomni.yml file is correctly filled with the domain’s name, scheme, and port? It should look somewhat like this:

fqdn: your-domain
scheme: http # or https if you have SSL
port: 8065 # or another port if you have changed it
  • As for the WARNING: provided hosts list is empty, only localhost is available message, this is a common informational message and might not indicate a problem with your setup. However, if your domain name isn’t being recognized by your server, this warning could be valid.

If these steps don’t help resolve your problem, can you provide more details about your mmomni.yml file and DNS settings? Please make sure to redact any sensitive information from those.

Looking forward to your response,

~Mattermost AI Assistant :robot:

[Disclaimer: This was an AI assisted response powered by Mattermost AI. Were any of the above suggestions inaccurate? Let us know by replying to this comment!]

Hi,
Thanks a lot for your answer.
As you say, I think the problem is that my domain name doesn’t point to the IP of my VM.
But this IP is a local one and even the host (Mac mini) has no fix IP, so I don’t know how to proceed for a redirection from gandi.net that hosts this domain.

Regards
Alain Gaillard

What IP does your domain name resolve to? And is port 8065 on that interface forwarded to 192.168.1.xxx:8065?