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. Bug report: domain name setup with nameserver issue

Bug report: domain name setup with nameserver issue

Scheduled Pinned Locked Moved Solved Support
dns
7 Posts 2 Posters 72 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.
    • E Offline
      E Offline
      ekevu123
      wrote last edited by joseph
      #1

      I think I ran into a bug - hard to reproduce, I know, but maybe it helps:

      Steps to reproduce:

      1. Set up a domain to resolve to a Cloudron app, incl. DNS settings
      2. Delete that app from Cloudron
      3. In my case: switch the Cloudron instance to another provider
      4. Only then update the DNS settings of the domain to resolve to the new server
      5. Add the domain to a new app

      Expected behaviour:
      The domain resolves to the new app.

      Actual behaviour:
      The domain still tries to resolve to the old, deleted application.

      What I have checked:

      • DNS settings have been applied (domain resolves to the new server IP)
      1 Reply Last reply
      0
      • J Offline
        J Offline
        joseph
        Staff
        wrote last edited by
        #2

        Isn't this just a DNS caching issue? DNS resolution is done by the DNS system and not by Cloudron. A "trick" to know where the problem lies is if step 5 succeeded on Cloudron side. i.e does it say "Running" . If it says so, it means DNS is set up fine . If your browser is unable to visit the app, it means it is a caching issue. DNS caching is by design of DNS and can be anywhere - browser, laptop, router, ISP ....

        1 Reply Last reply
        0
        • E Offline
          E Offline
          ekevu123
          wrote last edited by
          #3

          Could be, and I am happy to test this! However, I have added the domain to Cloudron, and it ran through the setup correctly. The app says running.
          But if I access it now, it still says that it is trying (and unable) to access the app which I deleted weeks ago on the other server.

          I am happy to run tests to look into this for sure, or we would need to think about some way to reset the settings, if possible, so that I could potentially use this domain again.

          J 1 Reply Last reply
          0
          • E ekevu123

            Could be, and I am happy to test this! However, I have added the domain to Cloudron, and it ran through the setup correctly. The app says running.
            But if I access it now, it still says that it is trying (and unable) to access the app which I deleted weeks ago on the other server.

            I am happy to run tests to look into this for sure, or we would need to think about some way to reset the settings, if possible, so that I could potentially use this domain again.

            J Offline
            J Offline
            joseph
            Staff
            wrote last edited by
            #4

            @ekevu123 said in Bug report: domain name setup with nameserver issue:

            But if I access it now, it still says that it is trying (and unable) to access the app which I deleted weeks ago on the other server.

            You have to test the DNS resolution on your laptop first. host app.example.com (I guess this works on linux/mac?) not sure how you do DNS lookup on windows .

            1 Reply Last reply
            0
            • E Offline
              E Offline
              ekevu123
              wrote last edited by
              #5

              Linux is fine. So, this shows the IP of my new server.

              Is there a place on my cloudron server where I can see per domain what settings apply? In another thread, you showed me only the reverse proxy settings per app, but I guess these don't really apply here.

              1 Reply Last reply
              0
              • J Offline
                J Offline
                joseph
                Staff
                wrote last edited by
                #6

                yeah, the DNS resolution doesn't go via the server and no config on server affects it. so sometimes you might have to hard refresh the browser etc since browsers also have their own DNS cache by now. You can always do curl https://app.example.com and check that it returns something . Which then means it's a browser issue (next thing to debug.. )

                1 Reply Last reply
                1
                • E Offline
                  E Offline
                  ekevu123
                  wrote last edited by
                  #7

                  That's it - it was the browser!
                  Thanks for your help, no bug then!

                  1 Reply Last reply
                  1
                  • J joseph marked this topic as a question
                  • J joseph has marked this topic as solved
                  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