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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Subdomain CNAME alias to Heroku DNS still ends up at Cloudron

    Support
    dns
    2
    3
    116
    Loading More Posts
    • 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.
    • M
      meaculpa last edited by girish

      Hello fellow Cloudron users,

      I'm a bit lost with this DNS issue I have, and hope someone can lend me a helping hand.

      Case:

      I have an additional domain set up in cloudron to host a landing page on the base domain "example.com" and also to receive emails. Working fine.

      Now i want to point a sub-domain "app.example.com" to a heroku dyno on the DNS level.
      I added a CNAME pointing to the Heroku DNS.

      If I test it with:

      host app.example.com
      

      i get:

      app.example.com has address <Cloudron Server IP>
      app.example.com is an alias for xyz.herokudns.com.
      

      My question:
      Does the wildcard (*) A record pointing to my Cloudron IP beat the CNAME alias I set?
      Does anyone have experience with a similar use case?
      Is there maybe a better way to do it?

      When I open app.example.com in a browser i get to the http version showing me "You found a Cloudron out in the wild!"

      Not sure how to proceed here...
      I'd greatly appreciate a pointer in the right direction.

      Thanks in any case!!

      1 Reply Last reply Reply Quote 0
      • M
        meaculpa last edited by meaculpa

        Oh boi. False alarm.

        Seems like it just needed some time to propagate the DNS stuff.
        It's working now. I Allready waited the whole night for it to happen.
        Just now as I wrote the thread it propagated.

        Im leaving this here in case anyone needs to do a similar task.
        @mods feel free to delete if not appropriate.

        Thanks all!

        nebulon 1 Reply Last reply Reply Quote 0
        • nebulon
          nebulon Staff @meaculpa last edited by

          @meaculpa hehe I was just about to comment here, since I wasn't able to reproduce it on my side.

          Glad it worked out now for you. Always good to have such topic for others to find if they hit the same issue in the future.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB