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. App Packaging & Development
  3. xip.io - Access any dev App via internal IP using a magic domain

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

Scheduled Pinned Locked Moved App Packaging & Development
15 Posts 7 Posters 4.7k Views 7 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.
  • robiR Offline
    robiR Offline
    robi
    wrote on last edited by girish
    #1

    http://xip.io (update: now seems dead)

    What is xip.io?
    xip.io is a magic domain name that provides wildcard DNS
    for any IP address. Say your LAN IP address is 10.0.0.1.
    Using xip.io,

          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

    ...and so on. You can use these domains to access virtual
    hosts on your development web server from devices on your
    local network, like iPads, iPhones, and other computers.
    No configuration required!

    Conscious tech

    LonkleL girishG 2 Replies Last reply
    1
    • robiR robi

      http://xip.io (update: now seems dead)

      What is xip.io?
      xip.io is a magic domain name that provides wildcard DNS
      for any IP address. Say your LAN IP address is 10.0.0.1.
      Using xip.io,

            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

      ...and so on. You can use these domains to access virtual
      hosts on your development web server from devices on your
      local network, like iPads, iPhones, and other computers.
      No configuration required!

      LonkleL Offline
      LonkleL Offline
      Lonkle
      wrote on last edited by
      #2

      @robi Cool concept. What’s the benefit over just using the IP though?

      fbartelsF 1 Reply Last reply
      0
      • LonkleL Lonkle

        @robi Cool concept. What’s the benefit over just using the IP though?

        fbartelsF Offline
        fbartelsF Offline
        fbartels
        App Dev
        wrote on last edited by
        #3

        @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.

        LonkleL 1 Reply Last reply
        1
        • robiR robi

          http://xip.io (update: now seems dead)

          What is xip.io?
          xip.io is a magic domain name that provides wildcard DNS
          for any IP address. Say your LAN IP address is 10.0.0.1.
          Using xip.io,

                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

          ...and so on. You can use these domains to access virtual
          hosts on your development web server from devices on your
          local network, like iPads, iPhones, and other computers.
          No configuration required!

          girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          @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?

          robiR 1 Reply Last reply
          2
          • mehdiM Offline
            mehdiM Offline
            mehdi
            App Dev
            wrote on last edited by
            #5

            @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 ?

            girishG 1 Reply Last reply
            0
            • mehdiM mehdi

              @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 ?

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by girish
              #6

              @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
              2
              • robiR Offline
                robiR Offline
                robi
                wrote on last edited by
                #7

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

                Conscious tech

                LonkleL 1 Reply Last reply
                1
                • fbartelsF fbartels

                  @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.

                  LonkleL Offline
                  LonkleL Offline
                  Lonkle
                  wrote on last edited by
                  #8

                  @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?

                  fbartelsF 1 Reply Last reply
                  0
                  • robiR robi

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

                    LonkleL Offline
                    LonkleL Offline
                    Lonkle
                    wrote on last edited by
                    #9

                    @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
                    0
                    • LonkleL Lonkle

                      @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?

                      fbartelsF Offline
                      fbartelsF Offline
                      fbartels
                      App Dev
                      wrote on last edited by fbartels
                      #10

                      @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.

                      LonkleL 1 Reply Last reply
                      3
                      • fbartelsF 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.

                        LonkleL Offline
                        LonkleL Offline
                        Lonkle
                        wrote on last edited by
                        #11

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

                        1 Reply Last reply
                        1
                        • robiR Offline
                          robiR Offline
                          robi
                          wrote on last edited by
                          #12

                          bumping for a refresher.

                          Conscious tech

                          rmdesR 1 Reply Last reply
                          0
                          • robiR robi

                            bumping for a refresher.

                            rmdesR Offline
                            rmdesR Offline
                            rmdes
                            wrote on last edited by
                            #13

                            @robi main domain seems to be dead ?

                            BrutalBirdieB 1 Reply Last reply
                            0
                            • rmdesR rmdes

                              @robi main domain seems to be dead ?

                              BrutalBirdieB Offline
                              BrutalBirdieB Offline
                              BrutalBirdie
                              Partner
                              wrote on last edited by
                              #14

                              @rmdes there is also https://nip.io/

                              Like my work? Consider donating a drink. Cheers!

                              1 Reply Last reply
                              1
                              • girishG girish

                                @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?

                                robiR Offline
                                robiR Offline
                                robi
                                wrote on last edited by
                                #15

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

                                @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?

                                nip.io maps <anything>[.-]<IP Address>.nip.io in "dot", "dash" or "hexadecimal" notation to the corresponding <IP Address>:

                                dot notation: magic.127.0.0.1.nip.io
                                dash notation: magic-127-0-0-1.nip.io
                                hexadecimal notation: magic-7f000001.nip.io

                                The "dash" and "hexadecimal" notation is especially useful when using services like LetsEncrypt as it's just a regular sub-domain of nip.io

                                Conscious tech

                                1 Reply Last reply
                                1
                                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