How to publish an application on a custom domain
-
Hey,
I want to deploy a Baserow app under the domain portfolio.akvo.org.
Baserow is hosted under the domain baserow.cloud.akvo.org.
The domain managed by Cloudron is cloud.akvo.org.
I've added the CNAME record as indicated in Baserow for the akvo.org domain:
When I open portfolio.akvo.org, I get a page with the following message: You are seeing this page because the DNS record of portfolio.akvo.org is set to this server's IP but Cloudron has no app configured for this domain.
I've tried adding the portfolio alias to the Baserow app, but since the Cloudron domain is cloud.akvo.org (not akvo.org), it has no effect (at least that is my guess).
What could be the solution here?
Thanks!
-
Hey,
I want to deploy a Baserow app under the domain portfolio.akvo.org.
Baserow is hosted under the domain baserow.cloud.akvo.org.
The domain managed by Cloudron is cloud.akvo.org.
I've added the CNAME record as indicated in Baserow for the akvo.org domain:
When I open portfolio.akvo.org, I get a page with the following message: You are seeing this page because the DNS record of portfolio.akvo.org is set to this server's IP but Cloudron has no app configured for this domain.
I've tried adding the portfolio alias to the Baserow app, but since the Cloudron domain is cloud.akvo.org (not akvo.org), it has no effect (at least that is my guess).
What could be the solution here?
Thanks!
@gdeflaux just as an unrealted aside: cool to know akvo is using Cloudron!
I've known and been a fan of akvo for years as I know one of the co-founders Mark Charmer (indeed, I'll be staying with him in Liverpool later this month as I'm headed up to speak at Labour Party Conference Fringe event about how co-ops can help retrofit UK homes
)
-
Hey,
I want to deploy a Baserow app under the domain portfolio.akvo.org.
Baserow is hosted under the domain baserow.cloud.akvo.org.
The domain managed by Cloudron is cloud.akvo.org.
I've added the CNAME record as indicated in Baserow for the akvo.org domain:
When I open portfolio.akvo.org, I get a page with the following message: You are seeing this page because the DNS record of portfolio.akvo.org is set to this server's IP but Cloudron has no app configured for this domain.
I've tried adding the portfolio alias to the Baserow app, but since the Cloudron domain is cloud.akvo.org (not akvo.org), it has no effect (at least that is my guess).
What could be the solution here?
Thanks!
@gdeflaux said in How to publish an application on a custom domain:
I want to deploy a Baserow app under the domain portfolio.akvo.org .
Baserow is hosted under the domain baserow.cloud.akvo.org .
The domain managed by Cloudron is cloud.akvo.org .
Just a simple CNAME is not enough. (For a technical explanation: The browser would resolve
portfolio
and then send the request to Cloudron. But Cloudron has no clue aboutportfolio
.... And from a security angle: What if I set up ablah
as CNAME to your baserow and thenblah
just shows your baserow!)The fix is: Go to domains view and add another domain akvo.org . After that, go to Baserow and change the Location to
portfolio
and selectakvo.org
from the subdomain .You also don't need
baserow.cloud.akvo.org
or the above CNAME record with the above fix (in fact, best you delete the CNAME record otherwise Cloudron will report conflict).