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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. DNS propagation via CLI does not work if you have a subdomain and the bare domain on the same instance

DNS propagation via CLI does not work if you have a subdomain and the bare domain on the same instance

Scheduled Pinned Locked Moved Solved Support
cli
2 Posts 2 Posters 320 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • luckowL Offline
    luckowL Offline
    luckow
    translator
    wrote on last edited by girish
    #1

    We use a GitLab pipeline for our staging environments. Every rollout on the stage therefore works via the Cloudron CLI.
    Everything is fine, if you only have a stage.example.org Domain on your Cloudron instance. The moment you added example.org as a second domain (or third ...) to the same instance, the CLI chooses example.org instead of stage.example.org for the DNS propagation.

          "icon": "file://.gitlab/cloudron-icon.png",
          "addons": {
            "localstorage": {},
            "mysql": {},
            "sendmail": {}
          },
          "dockerImage": "registry.example.org/vendor/project:129371"
        },
        "subdomain": "review-slug-hot19w.stage",
        "domain": "example.org",
        "portBindings": {},
        "fqdn": "review-slug-hot19w.stage.example.org"
      },
      "taskId": "28952"
    }
    

    Everything works as expected, if you use the mouse and the Cloudron dashboard. IMHO because you choose the right (in this case) sudomain stage.example.org

    BTW: it's not a question, it's a bug report. 🙂

    Pronouns: he/him | Primary language: German

    1 Reply Last reply
    2
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @luckow good catch. In fact, the sort function usage was entirely wrong.

      Fixed in https://git.cloudron.io/cloudron/cloudron-cli/-/commit/87dcb5f8cc8ae29f877a6f5b96c865ec48dd8846

      I published a new CLI 5.5.0

      1 Reply Last reply
      3
      • girishG girish has marked this topic as solved on
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Bookmarks
      • Search