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


Navigation

    Cloudron Forum

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

    xip.io - Access any dev App via internal IP using a magic domain

    App Packaging & Development
    5
    12
    97
    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.
    • fbartels
      fbartels App Dev @Lonk last edited by

      @Lonk said in xip.io - Access any dev App via internal IP using a magic domain:

      What’s the benefit over just using the IP though?

      Through sni you can host multiple websites on the same ip.

      Lonk 1 Reply Last reply Reply Quote 1
      • girish
        girish Staff @robi last edited by

        @robi Do you know if Let's Encrypt certs work with those domains (since LE has limits). Or maybe they have some special agreement with Let's Encrypt to get over the rate limits?

        1 Reply Last reply Reply Quote 2
        • mehdi
          mehdi App Dev last edited by

          @girish they resolve to a local IP, so I don't really see how the letsencrypt verification procedure could find your server. Or am I missing something ?

          girish 1 Reply Last reply Reply Quote 0
          • girish
            girish Staff @mehdi last edited by girish

            @mehdi I think you can put any public IP as well. So you can create a droplet and use it's public IP address.

            1 Reply Last reply Reply Quote 2
            • robi
              robi last edited by

              Any IP is usable not just private ones. Hence yes, you can get a LE cert.. try it.

              Lonk 1 Reply Last reply Reply Quote 1
              • Lonk
                Lonk @fbartels last edited by

                @fbartels said in xip.io - Access any dev App via internal IP using a magic domain:

                @Lonk said in xip.io - Access any dev App via internal IP using a magic domain:

                What’s the benefit over just using the IP though?

                Through sni you can host multiple websites on the same ip.

                I don’t understand how tho if no two of these “magic domains” can point to the same IP?

                fbartels 1 Reply Last reply Reply Quote 0
                • Lonk
                  Lonk @robi last edited by

                  @robi said in xip.io - Access any dev App via internal IP using a magic domain:

                  Any IP is usable not just private ones. Hence yes, you can get a LE cert.. try it.

                  I think I may have a use case for this then! 🤔 wonder if I could get a wildcard cert for it.

                  1 Reply Last reply Reply Quote 0
                  • fbartels
                    fbartels App Dev @Lonk last edited by fbartels

                    @Lonk said in xip.io - Access any dev App via internal IP using a magic domain:

                    I don’t understand how tho if no two of these “magic domains” can point to the same IP?

                    From the projects homepage:

                    10.0.0.1.xip.io resolves to 10.0.0.1
                    www.10.0.0.1.xip.io resolves to 10.0.0.1
                    mysite.10.0.0.1.xip.io resolves to 10.0.0.1
                    foo.bar.10.0.0.1.xip.io resolves to 10.0.0.1

                    So multiple domains can point to the same ip.

                    Lonk 1 Reply Last reply Reply Quote 3
                    • Lonk
                      Lonk @fbartels last edited by

                      @fbartels Ohhhhhh. I understand now. Thanks for the explanation. What a cool concept.

                      1 Reply Last reply Reply Quote 1
                      • robi
                        robi last edited by

                        bumping for a refresher.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post