DNS domain which resolves names to local IP addresses











up vote
1
down vote

favorite
2












Is there a domain name which resolves something like "domain192-168-1-128" to the IP 192.168.1.128 ?



I am trying to test a site on my local network which uses "subdomains" (e.g. portal-admin.localhost) from a mobile device. E.g.




  • Machine "Server" hosts the web site "portal-admin.localhost"

  • Machine "Server" is with IP 192.168.1.128

  • I don't want to have to setup a DNS server on my LAN nor change '/etc/hosts' file


What I want is an external domain which provides this resolution service.



Thanks for any help.










share|improve this question




























    up vote
    1
    down vote

    favorite
    2












    Is there a domain name which resolves something like "domain192-168-1-128" to the IP 192.168.1.128 ?



    I am trying to test a site on my local network which uses "subdomains" (e.g. portal-admin.localhost) from a mobile device. E.g.




    • Machine "Server" hosts the web site "portal-admin.localhost"

    • Machine "Server" is with IP 192.168.1.128

    • I don't want to have to setup a DNS server on my LAN nor change '/etc/hosts' file


    What I want is an external domain which provides this resolution service.



    Thanks for any help.










    share|improve this question


























      up vote
      1
      down vote

      favorite
      2









      up vote
      1
      down vote

      favorite
      2






      2





      Is there a domain name which resolves something like "domain192-168-1-128" to the IP 192.168.1.128 ?



      I am trying to test a site on my local network which uses "subdomains" (e.g. portal-admin.localhost) from a mobile device. E.g.




      • Machine "Server" hosts the web site "portal-admin.localhost"

      • Machine "Server" is with IP 192.168.1.128

      • I don't want to have to setup a DNS server on my LAN nor change '/etc/hosts' file


      What I want is an external domain which provides this resolution service.



      Thanks for any help.










      share|improve this question















      Is there a domain name which resolves something like "domain192-168-1-128" to the IP 192.168.1.128 ?



      I am trying to test a site on my local network which uses "subdomains" (e.g. portal-admin.localhost) from a mobile device. E.g.




      • Machine "Server" hosts the web site "portal-admin.localhost"

      • Machine "Server" is with IP 192.168.1.128

      • I don't want to have to setup a DNS server on my LAN nor change '/etc/hosts' file


      What I want is an external domain which provides this resolution service.



      Thanks for any help.







      networking dns web






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 5 '13 at 13:58

























      asked May 5 '13 at 13:25









      jldupont

      2,466122745




      2,466122745






















          4 Answers
          4






          active

          oldest

          votes

















          up vote
          4
          down vote



          accepted










          Yes, there is a service like that: http://freedns.afraid.org/



          You can login there and have free subdomains you can use for testing.



          For example, right now i have "web.leet.la" pointing to "192.168.1.1".



          And just for you there is "ts.leet.la" pointing to "192.168.1.128".



          Feel free to do a DNS-lookup on it and use it as you need.



          And if this is not what you're asking/looking for then the answer is No. An external service that literally maps 'portal-admin.localhost' or 'domain192-168-1-128' to '192.168.1.128' does not exist :-)






          share|improve this answer























          • +1 Excellent! If I only get it to work... When, for example, I put "portal-admin.mooo.com" with an A record to "192.168.1.128", it seems this gets resolved to "127.0.0.2" which is clearly not what I want.
            – jldupont
            May 5 '13 at 14:32










          • On my end it's working! portal-admin.mooo.com points to 192.168.1.128. Always give it some time to refresh global DNS-caches and don't forget to flush your local DNS-cache!
            – XyZZy
            May 5 '13 at 14:40




















          up vote
          9
          down vote













          Actually there is Xip.io which does exactly what you asked for: http://xip.io/



          For example 192.168.1.128.xip.io resolves to 192.168.1.128.






          share|improve this answer




























            up vote
            0
            down vote













            Set the DNS in your "hosts" file on whatever computer you want to test from.



            In Linux, it typically exists at "/etc/hosts".



            In Windows, it typically exists at "C:windowssystem32driversetchosts"



            You could set it up with the following lines:



            192.168.1.128       portal-admin.localhost
            192.168.1.128 subdomain1.portal-admin.localhost
            192.168.1.128 subdomain2.portal-admin.localhost


            Alternatively, you could setup the proper "local" DNS entries on a domain you already own & manage,



            localhost.somedomainname.com -> 127.0.0.1
            *.localhost.somedomainname.com -> 127.0.0.1
            internalnetwork.somedomainname.com -> 192.168.1.128
            *.internalnetwork.somedomainname.com -> 192.168.1.128





            share|improve this answer























            • that's not what I asked for.
              – jldupont
              May 5 '13 at 13:57










            • Edited my post for another option. I don't think anything like what you requested exists.
              – mattw
              May 5 '13 at 14:02


















            up vote
            0
            down vote













            You can buy some cheap domain name and start makin your subdomain. for example somegoodname.whatever(.com) and after in administration page you can start makin subdomains like server1.somegoodname.net has A record 192.168.1.100






            share|improve this answer





















              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "3"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f591732%2fdns-domain-which-resolves-names-to-local-ip-addresses%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              4 Answers
              4






              active

              oldest

              votes








              4 Answers
              4






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              4
              down vote



              accepted










              Yes, there is a service like that: http://freedns.afraid.org/



              You can login there and have free subdomains you can use for testing.



              For example, right now i have "web.leet.la" pointing to "192.168.1.1".



              And just for you there is "ts.leet.la" pointing to "192.168.1.128".



              Feel free to do a DNS-lookup on it and use it as you need.



              And if this is not what you're asking/looking for then the answer is No. An external service that literally maps 'portal-admin.localhost' or 'domain192-168-1-128' to '192.168.1.128' does not exist :-)






              share|improve this answer























              • +1 Excellent! If I only get it to work... When, for example, I put "portal-admin.mooo.com" with an A record to "192.168.1.128", it seems this gets resolved to "127.0.0.2" which is clearly not what I want.
                – jldupont
                May 5 '13 at 14:32










              • On my end it's working! portal-admin.mooo.com points to 192.168.1.128. Always give it some time to refresh global DNS-caches and don't forget to flush your local DNS-cache!
                – XyZZy
                May 5 '13 at 14:40

















              up vote
              4
              down vote



              accepted










              Yes, there is a service like that: http://freedns.afraid.org/



              You can login there and have free subdomains you can use for testing.



              For example, right now i have "web.leet.la" pointing to "192.168.1.1".



              And just for you there is "ts.leet.la" pointing to "192.168.1.128".



              Feel free to do a DNS-lookup on it and use it as you need.



              And if this is not what you're asking/looking for then the answer is No. An external service that literally maps 'portal-admin.localhost' or 'domain192-168-1-128' to '192.168.1.128' does not exist :-)






              share|improve this answer























              • +1 Excellent! If I only get it to work... When, for example, I put "portal-admin.mooo.com" with an A record to "192.168.1.128", it seems this gets resolved to "127.0.0.2" which is clearly not what I want.
                – jldupont
                May 5 '13 at 14:32










              • On my end it's working! portal-admin.mooo.com points to 192.168.1.128. Always give it some time to refresh global DNS-caches and don't forget to flush your local DNS-cache!
                – XyZZy
                May 5 '13 at 14:40















              up vote
              4
              down vote



              accepted







              up vote
              4
              down vote



              accepted






              Yes, there is a service like that: http://freedns.afraid.org/



              You can login there and have free subdomains you can use for testing.



              For example, right now i have "web.leet.la" pointing to "192.168.1.1".



              And just for you there is "ts.leet.la" pointing to "192.168.1.128".



              Feel free to do a DNS-lookup on it and use it as you need.



              And if this is not what you're asking/looking for then the answer is No. An external service that literally maps 'portal-admin.localhost' or 'domain192-168-1-128' to '192.168.1.128' does not exist :-)






              share|improve this answer














              Yes, there is a service like that: http://freedns.afraid.org/



              You can login there and have free subdomains you can use for testing.



              For example, right now i have "web.leet.la" pointing to "192.168.1.1".



              And just for you there is "ts.leet.la" pointing to "192.168.1.128".



              Feel free to do a DNS-lookup on it and use it as you need.



              And if this is not what you're asking/looking for then the answer is No. An external service that literally maps 'portal-admin.localhost' or 'domain192-168-1-128' to '192.168.1.128' does not exist :-)







              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited May 5 '13 at 14:17

























              answered May 5 '13 at 14:09









              XyZZy

              59638




              59638












              • +1 Excellent! If I only get it to work... When, for example, I put "portal-admin.mooo.com" with an A record to "192.168.1.128", it seems this gets resolved to "127.0.0.2" which is clearly not what I want.
                – jldupont
                May 5 '13 at 14:32










              • On my end it's working! portal-admin.mooo.com points to 192.168.1.128. Always give it some time to refresh global DNS-caches and don't forget to flush your local DNS-cache!
                – XyZZy
                May 5 '13 at 14:40




















              • +1 Excellent! If I only get it to work... When, for example, I put "portal-admin.mooo.com" with an A record to "192.168.1.128", it seems this gets resolved to "127.0.0.2" which is clearly not what I want.
                – jldupont
                May 5 '13 at 14:32










              • On my end it's working! portal-admin.mooo.com points to 192.168.1.128. Always give it some time to refresh global DNS-caches and don't forget to flush your local DNS-cache!
                – XyZZy
                May 5 '13 at 14:40


















              +1 Excellent! If I only get it to work... When, for example, I put "portal-admin.mooo.com" with an A record to "192.168.1.128", it seems this gets resolved to "127.0.0.2" which is clearly not what I want.
              – jldupont
              May 5 '13 at 14:32




              +1 Excellent! If I only get it to work... When, for example, I put "portal-admin.mooo.com" with an A record to "192.168.1.128", it seems this gets resolved to "127.0.0.2" which is clearly not what I want.
              – jldupont
              May 5 '13 at 14:32












              On my end it's working! portal-admin.mooo.com points to 192.168.1.128. Always give it some time to refresh global DNS-caches and don't forget to flush your local DNS-cache!
              – XyZZy
              May 5 '13 at 14:40






              On my end it's working! portal-admin.mooo.com points to 192.168.1.128. Always give it some time to refresh global DNS-caches and don't forget to flush your local DNS-cache!
              – XyZZy
              May 5 '13 at 14:40














              up vote
              9
              down vote













              Actually there is Xip.io which does exactly what you asked for: http://xip.io/



              For example 192.168.1.128.xip.io resolves to 192.168.1.128.






              share|improve this answer

























                up vote
                9
                down vote













                Actually there is Xip.io which does exactly what you asked for: http://xip.io/



                For example 192.168.1.128.xip.io resolves to 192.168.1.128.






                share|improve this answer























                  up vote
                  9
                  down vote










                  up vote
                  9
                  down vote









                  Actually there is Xip.io which does exactly what you asked for: http://xip.io/



                  For example 192.168.1.128.xip.io resolves to 192.168.1.128.






                  share|improve this answer












                  Actually there is Xip.io which does exactly what you asked for: http://xip.io/



                  For example 192.168.1.128.xip.io resolves to 192.168.1.128.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 24 '15 at 15:07









                  derintendant

                  9111




                  9111






















                      up vote
                      0
                      down vote













                      Set the DNS in your "hosts" file on whatever computer you want to test from.



                      In Linux, it typically exists at "/etc/hosts".



                      In Windows, it typically exists at "C:windowssystem32driversetchosts"



                      You could set it up with the following lines:



                      192.168.1.128       portal-admin.localhost
                      192.168.1.128 subdomain1.portal-admin.localhost
                      192.168.1.128 subdomain2.portal-admin.localhost


                      Alternatively, you could setup the proper "local" DNS entries on a domain you already own & manage,



                      localhost.somedomainname.com -> 127.0.0.1
                      *.localhost.somedomainname.com -> 127.0.0.1
                      internalnetwork.somedomainname.com -> 192.168.1.128
                      *.internalnetwork.somedomainname.com -> 192.168.1.128





                      share|improve this answer























                      • that's not what I asked for.
                        – jldupont
                        May 5 '13 at 13:57










                      • Edited my post for another option. I don't think anything like what you requested exists.
                        – mattw
                        May 5 '13 at 14:02















                      up vote
                      0
                      down vote













                      Set the DNS in your "hosts" file on whatever computer you want to test from.



                      In Linux, it typically exists at "/etc/hosts".



                      In Windows, it typically exists at "C:windowssystem32driversetchosts"



                      You could set it up with the following lines:



                      192.168.1.128       portal-admin.localhost
                      192.168.1.128 subdomain1.portal-admin.localhost
                      192.168.1.128 subdomain2.portal-admin.localhost


                      Alternatively, you could setup the proper "local" DNS entries on a domain you already own & manage,



                      localhost.somedomainname.com -> 127.0.0.1
                      *.localhost.somedomainname.com -> 127.0.0.1
                      internalnetwork.somedomainname.com -> 192.168.1.128
                      *.internalnetwork.somedomainname.com -> 192.168.1.128





                      share|improve this answer























                      • that's not what I asked for.
                        – jldupont
                        May 5 '13 at 13:57










                      • Edited my post for another option. I don't think anything like what you requested exists.
                        – mattw
                        May 5 '13 at 14:02













                      up vote
                      0
                      down vote










                      up vote
                      0
                      down vote









                      Set the DNS in your "hosts" file on whatever computer you want to test from.



                      In Linux, it typically exists at "/etc/hosts".



                      In Windows, it typically exists at "C:windowssystem32driversetchosts"



                      You could set it up with the following lines:



                      192.168.1.128       portal-admin.localhost
                      192.168.1.128 subdomain1.portal-admin.localhost
                      192.168.1.128 subdomain2.portal-admin.localhost


                      Alternatively, you could setup the proper "local" DNS entries on a domain you already own & manage,



                      localhost.somedomainname.com -> 127.0.0.1
                      *.localhost.somedomainname.com -> 127.0.0.1
                      internalnetwork.somedomainname.com -> 192.168.1.128
                      *.internalnetwork.somedomainname.com -> 192.168.1.128





                      share|improve this answer














                      Set the DNS in your "hosts" file on whatever computer you want to test from.



                      In Linux, it typically exists at "/etc/hosts".



                      In Windows, it typically exists at "C:windowssystem32driversetchosts"



                      You could set it up with the following lines:



                      192.168.1.128       portal-admin.localhost
                      192.168.1.128 subdomain1.portal-admin.localhost
                      192.168.1.128 subdomain2.portal-admin.localhost


                      Alternatively, you could setup the proper "local" DNS entries on a domain you already own & manage,



                      localhost.somedomainname.com -> 127.0.0.1
                      *.localhost.somedomainname.com -> 127.0.0.1
                      internalnetwork.somedomainname.com -> 192.168.1.128
                      *.internalnetwork.somedomainname.com -> 192.168.1.128






                      share|improve this answer














                      share|improve this answer



                      share|improve this answer








                      edited May 5 '13 at 13:57

























                      answered May 5 '13 at 13:49









                      mattw

                      58147




                      58147












                      • that's not what I asked for.
                        – jldupont
                        May 5 '13 at 13:57










                      • Edited my post for another option. I don't think anything like what you requested exists.
                        – mattw
                        May 5 '13 at 14:02


















                      • that's not what I asked for.
                        – jldupont
                        May 5 '13 at 13:57










                      • Edited my post for another option. I don't think anything like what you requested exists.
                        – mattw
                        May 5 '13 at 14:02
















                      that's not what I asked for.
                      – jldupont
                      May 5 '13 at 13:57




                      that's not what I asked for.
                      – jldupont
                      May 5 '13 at 13:57












                      Edited my post for another option. I don't think anything like what you requested exists.
                      – mattw
                      May 5 '13 at 14:02




                      Edited my post for another option. I don't think anything like what you requested exists.
                      – mattw
                      May 5 '13 at 14:02










                      up vote
                      0
                      down vote













                      You can buy some cheap domain name and start makin your subdomain. for example somegoodname.whatever(.com) and after in administration page you can start makin subdomains like server1.somegoodname.net has A record 192.168.1.100






                      share|improve this answer

























                        up vote
                        0
                        down vote













                        You can buy some cheap domain name and start makin your subdomain. for example somegoodname.whatever(.com) and after in administration page you can start makin subdomains like server1.somegoodname.net has A record 192.168.1.100






                        share|improve this answer























                          up vote
                          0
                          down vote










                          up vote
                          0
                          down vote









                          You can buy some cheap domain name and start makin your subdomain. for example somegoodname.whatever(.com) and after in administration page you can start makin subdomains like server1.somegoodname.net has A record 192.168.1.100






                          share|improve this answer












                          You can buy some cheap domain name and start makin your subdomain. for example somegoodname.whatever(.com) and after in administration page you can start makin subdomains like server1.somegoodname.net has A record 192.168.1.100







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Nov 20 at 19:23









                          prophet

                          1




                          1






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Super User!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.





                              Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                              Please pay close attention to the following guidance:


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f591732%2fdns-domain-which-resolves-names-to-local-ip-addresses%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Сан-Квентин

                              8-я гвардейская общевойсковая армия

                              Алькесар