Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • 1 Votes
    4 Posts
    150 Views
    girishG

    @matix131997 This was a bug in the UI code (setupdns view code). Fixed in https://git.cloudron.io/cloudron/box/-/commit/003bc457bf95a5b555a83d76b36199f3acec8ece

    As a workaround:

    Setup the DNS as manual or wildcard for a start Then, after you setup admin etc, go to Domains View and change it to Bunny. This view does not have this bug.
  • 0 Votes
    4 Posts
    107 Views
    D

    Hi @girish, hi @nebulon. Many thanks for perfect explanation, hope to have got that. Have now configured as explained above and apex domain does now also produces perfectly valid cert signed by LE. 👍🏼

    Many thanks also for impressingly quick response during weekend - appreciated. 😊

  • 0 Votes
    7 Posts
    241 Views
    jdaviescoatesJ

    @Reveller said in Rudimentary question about how domains work in Cloudron:

    @jdaviescoates Thanks. Overthinking is one of my unfortunate specialties. But the docs are very clear that the apps are installed on subdomains - https://docs.cloudron.io/installation/

    I see what you mean, I think @staff ought to update this part of the docs which give the wrong impression:

    Domain Setup

    Provide a domain like example.com. The way Cloudron works is that the dashboard gets installed at my.example.com, and apps are installed under subdomains that you specify like git.example.com, chat.example.com, and so on.

    @Reveller said in Rudimentary question about how domains work in Cloudron:

    But by looking closer at the demo, I can see how the location can be changed (app's location tab) - so I assume that's how it's done.

    Yes, you can always change location there, but you can also just directly install on the root domain in the first instance too.

  • 1 Votes
    2 Posts
    92 Views
    girishG

    @JOduMonT good idea. I think it would be nice if we had a "migrate domain" which "moves" everything - dashboard, MAIL FROM, mailboxes etc. All these are available individually but not as a single operation.

    Can you make a feature request?

  • 0 Votes
    3 Posts
    190 Views
    girishG

    @briankb-0 said in Root Domain Hosts Shopify Site Subs Are Cloundron:

    What happens if I add the domain to Cloundron so I can use it to setup sub-domains for NodeBB and Ghost?

    When you add a domain:

    To validate credentials, the code will add a cloudrontestdns A record and remove this immediately. To configure the server to send emails: If there is an existing SPF record, it is edited to have a:my.my.domain.com . The SPF record essentially whitelists which servers can send email on behalf of the domain. This is NOT destructive, your existing SPF record is only amended. A DKIM record is added under <random>._domainkey.domain.com. This is used to sign/verify emails by mail servers. Because of the 'random' part, it won't conflict with any of your existing DKIM keys If there is no existing DMARC record, we create one with the value "v=DMARC1; p=reject; pct=100". This essentially is a strict DMARC policy not allowing anyone outside the SPF record to send emails on behalf of the domain.

    Other than that, it is what @BrutalBirdie said. The bare/root domain is untouched. Cloudron only adds entries when you install apps. Also, if you had a root domain DNS entry already, it will warn you that it's in use, if you try to install an app on the root domain (it does this check for any subdomain).

  • 3 Votes
    22 Posts
    1k Views
    girishG

    @humptydumpty Err, I forgot that I already removed those last week as well - https://git.cloudron.io/cloudron/dashboard/-/commit/72ba61ad91d326c3f287a2f538809cc78afcfdc8 . So, this should be fixed in next release.

  • 1 Votes
    6 Posts
    458 Views
    jdaviescoatesJ

    Just to add, what I ended up doing was just using Surfer and creating an index.html file with this:

    <!DOCTYPE html> <html> <head> <title>United Diversity - Together We Have Everything</title> <meta http-equiv = "refresh" content = "0; url = https://my.uniteddiversity.coop/" /> </head> <body> <p>Will redirect shortly to https://my.uniteddiversity.coop/</p> </body> </html>
  • 0 Votes
    22 Posts
    1k Views
    girishG

    @d19dotca OK, I have scheduled https://git.cloudron.io/cloudron/box/-/issues/737 for 6.2, let's see.

  • 0 Votes
    3 Posts
    422 Views
    zjuhaszZ

    @girish

    This is intentional because the root domain record can be in use on another server/app/website.

    Right, that makes sense.

    I added a redirect from the root domain and it solved all my problems. Thanks for the quick help.

  • 0 Votes
    5 Posts
    1k Views
    R

    Ah seems to be working now thanks - I had added my full domain foo.ddns.net to the zone name field initially as It autofilled ddns.net and I thought that cloundron might then try to generate subdomains with the foo part missing e.g. my.ddns.net which wouldn't work but apparently not. Thanks for the Help!