Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable option to replace [TEAM_NAME].[DOMAIN] with [IP ADDRESS]/[TEAM_NAME] for local installs #119

Closed
cloudtrends opened this issue Jul 2, 2015 · 6 comments
Assignees
Milestone

Comments

@cloudtrends
Copy link

hi team,

I am running mattermost on my local centos , I had not config the domain by using the IP address directly, such as below :

http://1.1.1.1:8065/

There are an input box on home page told me that " Enter your team's domain. " .

When I click the " Sign up " button , the browser redirect to : http://www.1.1.1:8065 , which of course can not visit .

What my question is , how can I "Sign up" my own test domain for login ?

thanks

@it33
Copy link
Contributor

it33 commented Jul 2, 2015

Hi @cloudtrends, you can either use Docker and http://dockerhost:8065/, or map in a domain, direct use of an IP address is not supported in the first release. This is a known issue and we should hopefully see a pull request for master by end of next week to address this, and we'll have a new major build (going through stabilization and test pass) in about 4 weeks,

@cloudtrends
Copy link
Author

hi @it33 ,

Following your guide, I map my IP to a domain , such as : mm.com:8065

When I click the signup button , the browser redirect to : www.com:8065

Is there exists any location for config a test domain by default ?

thanks

@crspeller crspeller self-assigned this Jul 2, 2015
@crspeller
Copy link
Member

In order for this to work you need to map a wildcard domain of the form "*.domain.tld". This will cause any subdomain to redirect to the same IP. Then you can visit www.domain.tld and it should work.

@it33 it33 changed the title How to create a test domain in localhost mode? Enable option to replace [TEAM_NAME].[DOMAIN] with [IP ADDRESS]/[TEAM_NAME] for local installs Jul 3, 2015
@it33
Copy link
Contributor

it33 commented Jul 3, 2015

There are several tickets relating to this and an approved Feature Request to make this easier: http://mattermost.uservoice.com/forums/306457-general/suggestions/8677084-add-ability-to-use-ip-address-team-instead-of-te

Queuing for our 0.6.0 release that should be around end of the month, and there may be a pull request for this feature by end of next week,

@it33 it33 added this to the 0.6.0 milestone Jul 3, 2015
@cifvts
Copy link
Contributor

cifvts commented Jul 13, 2015

Waiting for this issue to be solved, I'm eager to put the software on test

@crspeller
Copy link
Member

#200 When merged will fix this.

witjem pushed a commit to witjem/mattermost-server that referenced this issue Oct 6, 2022
…ost#119)

* Add unit tests for ShowRoleCmd mmctl

* Edit mock return value to the mockRole object

* Reorganize imports to pass the linter

* Modify clean calls to have them at the top of the test cases

* Fix linter

Co-authored-by: Miguel de la Cruz <mgdelacroix@gmail.com>
hanzei pushed a commit that referenced this issue Jul 13, 2023
* go get github.com/mattermost/mattermost-server/v6@b9d062ddfa66387926217f58069e3509a2c9f244

* require go 1.18 to match mattermost-server

* adopt new octal formatting rules, more go mod magic

* .circleci: cimg/go:1.18

* alternate golangci-lint invocation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants