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

[Question] Use something.mydomain.com instead of *.something.mydomain.com for my app #759

Closed
wiradikusuma opened this issue Jul 9, 2020 · 3 comments
Labels

Comments

@wiradikusuma
Copy link

I have successfully deployed an app at http://myproject-backend.something.mydomain.com and now I want to make it available only at https://something.mydomain.com/ — how to make that happen?

In my DNS, I have both:

A Record: *.something -> MYIP
A Record: something -> MYIP

I tried adding something.mydomain.com in HTTP Settings page but I always get this error:

1107 : Verification Failed

And opening something.mydomain.com from the browser gives me this:

Nothing here yet :/
@githubsaturn
Copy link
Collaborator

Wait a few hours and try again. If it still fails, you can temporarily disable domain verification:

echo  "{\"skipVerifyingDomains\":\"true\"}" >  /captain/data/config-override.json
docker service update captain-captain --force

@wiradikusuma
Copy link
Author

Thanks, patience is a virtue :)

How do I remove the default myproject-backend.something.mydomain.com?

@githubsaturn
Copy link
Collaborator

There is no support for native support for "removing" the default domain as it adds zero value and occupies space in the UI. If you're really interested, you can edit your nginx config to make that change. More details: #642 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant