Cloudron Subdomain pointing to a different IP for Apps not on Cloudron
-
I am hosting a family tree using a software called
grampsweb
and I want it host under a sub-domain that is managed by Cloudron.
In in google cloud console, I see that all theA
record will be against the IP that cloudron is running and all sub-domains are effectively managed by cloudron, something likeVHOSTS
.Now, if I want to host an application in a different instance(like grampsweb in a few digital ocean instance with an IP), and I want to point it to cloudron sub-domain, how can I go about doing this? I don't have a CNAME, I only have an IP address and I need to point it to an
A
record.Thanks in advance.
Senthil
-
@senthilkumaran Use the Add App Proxy app from the upper right of the App Store to do that.
-
This sounds very confusing, but my answer, as I understand the question, is that Cloudron only manages domains, and subdomains, which have the A record for the Cloudron VPS. So if your Cloudron is at a server with an IP 1.2.3.4, then your DNS will have an A record of example.com at 1.2.3.4, with the *.example.com also having 1.2.3.4. BUT, you can make any number of other A records like grampwebs.example.com but the A record is 4.3.2.1, and that will resolve fine on the other server. Cloudron doesn't "have" sub-domains per se, only what the * allows combined with the subdomains you enter in the app installation. I supposed it does "have" it in the sense that any crazyname.example.com is going to resolve to the CLoudron, along with a message saying there is no app there (because of the *), but again, DNS is up to you and your registrar, not Cloudron. I should add that I use Wildcard, even with the Registrars that Cloudron can interact with using the API, simply because I like being that one-more-step-closer-in-control, and because sometimes I do use the Cloudron root domain with a different subdomain resolving to an entirely different server and web app.