browser redirects when accessing IP or DNS












0















0



I've written an asmx web service and am working on hosting it via IIS. I've added port bindings to my domain and I am able to access it externally by visiting my domain without issue.



The problem I'm having is that I can't use the default port 80 to host the web service, which I need to do because of limitations with mapping to specific ports.



Whenever I access the default port I'm redirected to my WD MyCloud website, basically the url is automatically appended with /UI (www.mydomain.com redirects to www.mydomain.com/UI)



As far as I can tell I don't have any DNS records that are pointing to that internal IP address and I don't have any http rewrites that would be sending traffic to that URL.



At this point I don't know if it's a router issue, a DNS issue, an IIS issue or possibly something else. I'm not even sure how to troubleshoot it to find out where this URL is coming from.



The only sure thing I can say is that when I log into my Linksys router and turn on the "Filter Internet NAT redirection" option, the redirects no longer happen and I am sent to the Linksys web URL, but none of my ports forward at that point.










share|improve this question























  • So all is about externally accessing the ports, right? Also, do you have UPnP enabled in your modem/router? (You might want to disable that to stop devices and software from opening whatever they like.) And do you even need external access to your WD MyCloud?

    – Arjan
    Jan 13 at 16:24


















0















0



I've written an asmx web service and am working on hosting it via IIS. I've added port bindings to my domain and I am able to access it externally by visiting my domain without issue.



The problem I'm having is that I can't use the default port 80 to host the web service, which I need to do because of limitations with mapping to specific ports.



Whenever I access the default port I'm redirected to my WD MyCloud website, basically the url is automatically appended with /UI (www.mydomain.com redirects to www.mydomain.com/UI)



As far as I can tell I don't have any DNS records that are pointing to that internal IP address and I don't have any http rewrites that would be sending traffic to that URL.



At this point I don't know if it's a router issue, a DNS issue, an IIS issue or possibly something else. I'm not even sure how to troubleshoot it to find out where this URL is coming from.



The only sure thing I can say is that when I log into my Linksys router and turn on the "Filter Internet NAT redirection" option, the redirects no longer happen and I am sent to the Linksys web URL, but none of my ports forward at that point.










share|improve this question























  • So all is about externally accessing the ports, right? Also, do you have UPnP enabled in your modem/router? (You might want to disable that to stop devices and software from opening whatever they like.) And do you even need external access to your WD MyCloud?

    – Arjan
    Jan 13 at 16:24
















0












0








0








0



I've written an asmx web service and am working on hosting it via IIS. I've added port bindings to my domain and I am able to access it externally by visiting my domain without issue.



The problem I'm having is that I can't use the default port 80 to host the web service, which I need to do because of limitations with mapping to specific ports.



Whenever I access the default port I'm redirected to my WD MyCloud website, basically the url is automatically appended with /UI (www.mydomain.com redirects to www.mydomain.com/UI)



As far as I can tell I don't have any DNS records that are pointing to that internal IP address and I don't have any http rewrites that would be sending traffic to that URL.



At this point I don't know if it's a router issue, a DNS issue, an IIS issue or possibly something else. I'm not even sure how to troubleshoot it to find out where this URL is coming from.



The only sure thing I can say is that when I log into my Linksys router and turn on the "Filter Internet NAT redirection" option, the redirects no longer happen and I am sent to the Linksys web URL, but none of my ports forward at that point.










share|improve this question














0



I've written an asmx web service and am working on hosting it via IIS. I've added port bindings to my domain and I am able to access it externally by visiting my domain without issue.



The problem I'm having is that I can't use the default port 80 to host the web service, which I need to do because of limitations with mapping to specific ports.



Whenever I access the default port I'm redirected to my WD MyCloud website, basically the url is automatically appended with /UI (www.mydomain.com redirects to www.mydomain.com/UI)



As far as I can tell I don't have any DNS records that are pointing to that internal IP address and I don't have any http rewrites that would be sending traffic to that URL.



At this point I don't know if it's a router issue, a DNS issue, an IIS issue or possibly something else. I'm not even sure how to troubleshoot it to find out where this URL is coming from.



The only sure thing I can say is that when I log into my Linksys router and turn on the "Filter Internet NAT redirection" option, the redirects no longer happen and I am sent to the Linksys web URL, but none of my ports forward at that point.







dns iis






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 13 at 4:55









Tom DTom D

1




1













  • So all is about externally accessing the ports, right? Also, do you have UPnP enabled in your modem/router? (You might want to disable that to stop devices and software from opening whatever they like.) And do you even need external access to your WD MyCloud?

    – Arjan
    Jan 13 at 16:24





















  • So all is about externally accessing the ports, right? Also, do you have UPnP enabled in your modem/router? (You might want to disable that to stop devices and software from opening whatever they like.) And do you even need external access to your WD MyCloud?

    – Arjan
    Jan 13 at 16:24



















So all is about externally accessing the ports, right? Also, do you have UPnP enabled in your modem/router? (You might want to disable that to stop devices and software from opening whatever they like.) And do you even need external access to your WD MyCloud?

– Arjan
Jan 13 at 16:24







So all is about externally accessing the ports, right? Also, do you have UPnP enabled in your modem/router? (You might want to disable that to stop devices and software from opening whatever they like.) And do you even need external access to your WD MyCloud?

– Arjan
Jan 13 at 16:24












2 Answers
2






active

oldest

votes


















0















Whenever I access the default port I'm redirected to my WD MyCloud website.




It sounds like the WD MyCloud is acting as a "default" web server and is responding to any incoming http traffic.



As general advice, there are likely three basic solutions:




  1. Port forward HTTP/HTTPS traffic (80/443) on your router specifically to your IIS server (and relay any requests for the WD My Cloud to that device from there).


  2. If possible, change the ports that the WD My Cloud operates on for web access (i.e. change HTTP/HTTPS from 80/443 to something else).


  3. Run your own DNS server for www.mydomain.com (perhaps on the same machine as your IIS installation). You can use BIND on Windows, for example. You can then direct web traffic for www.mydomain.com to the correct machine on your network.



As a side note, I would avoid putting any device in the "DMZ" settings for your router since this device will likely have web traffic routed to it automatically.






share|improve this answer































    0














    I changed the DNS servers that my router uses to Google's DNS servers (8.8.8.8 and 8.8.8.4) and clearing my browser cache.






    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',
      autoActivateHeartbeat: false,
      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%2f1393684%2fbrowser-redirects-when-accessing-ip-or-dns%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0















      Whenever I access the default port I'm redirected to my WD MyCloud website.




      It sounds like the WD MyCloud is acting as a "default" web server and is responding to any incoming http traffic.



      As general advice, there are likely three basic solutions:




      1. Port forward HTTP/HTTPS traffic (80/443) on your router specifically to your IIS server (and relay any requests for the WD My Cloud to that device from there).


      2. If possible, change the ports that the WD My Cloud operates on for web access (i.e. change HTTP/HTTPS from 80/443 to something else).


      3. Run your own DNS server for www.mydomain.com (perhaps on the same machine as your IIS installation). You can use BIND on Windows, for example. You can then direct web traffic for www.mydomain.com to the correct machine on your network.



      As a side note, I would avoid putting any device in the "DMZ" settings for your router since this device will likely have web traffic routed to it automatically.






      share|improve this answer




























        0















        Whenever I access the default port I'm redirected to my WD MyCloud website.




        It sounds like the WD MyCloud is acting as a "default" web server and is responding to any incoming http traffic.



        As general advice, there are likely three basic solutions:




        1. Port forward HTTP/HTTPS traffic (80/443) on your router specifically to your IIS server (and relay any requests for the WD My Cloud to that device from there).


        2. If possible, change the ports that the WD My Cloud operates on for web access (i.e. change HTTP/HTTPS from 80/443 to something else).


        3. Run your own DNS server for www.mydomain.com (perhaps on the same machine as your IIS installation). You can use BIND on Windows, for example. You can then direct web traffic for www.mydomain.com to the correct machine on your network.



        As a side note, I would avoid putting any device in the "DMZ" settings for your router since this device will likely have web traffic routed to it automatically.






        share|improve this answer


























          0












          0








          0








          Whenever I access the default port I'm redirected to my WD MyCloud website.




          It sounds like the WD MyCloud is acting as a "default" web server and is responding to any incoming http traffic.



          As general advice, there are likely three basic solutions:




          1. Port forward HTTP/HTTPS traffic (80/443) on your router specifically to your IIS server (and relay any requests for the WD My Cloud to that device from there).


          2. If possible, change the ports that the WD My Cloud operates on for web access (i.e. change HTTP/HTTPS from 80/443 to something else).


          3. Run your own DNS server for www.mydomain.com (perhaps on the same machine as your IIS installation). You can use BIND on Windows, for example. You can then direct web traffic for www.mydomain.com to the correct machine on your network.



          As a side note, I would avoid putting any device in the "DMZ" settings for your router since this device will likely have web traffic routed to it automatically.






          share|improve this answer














          Whenever I access the default port I'm redirected to my WD MyCloud website.




          It sounds like the WD MyCloud is acting as a "default" web server and is responding to any incoming http traffic.



          As general advice, there are likely three basic solutions:




          1. Port forward HTTP/HTTPS traffic (80/443) on your router specifically to your IIS server (and relay any requests for the WD My Cloud to that device from there).


          2. If possible, change the ports that the WD My Cloud operates on for web access (i.e. change HTTP/HTTPS from 80/443 to something else).


          3. Run your own DNS server for www.mydomain.com (perhaps on the same machine as your IIS installation). You can use BIND on Windows, for example. You can then direct web traffic for www.mydomain.com to the correct machine on your network.



          As a side note, I would avoid putting any device in the "DMZ" settings for your router since this device will likely have web traffic routed to it automatically.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 13 at 16:18









          AnaksunamanAnaksunaman

          5,31321222




          5,31321222

























              0














              I changed the DNS servers that my router uses to Google's DNS servers (8.8.8.8 and 8.8.8.4) and clearing my browser cache.






              share|improve this answer




























                0














                I changed the DNS servers that my router uses to Google's DNS servers (8.8.8.8 and 8.8.8.4) and clearing my browser cache.






                share|improve this answer


























                  0












                  0








                  0







                  I changed the DNS servers that my router uses to Google's DNS servers (8.8.8.8 and 8.8.8.4) and clearing my browser cache.






                  share|improve this answer













                  I changed the DNS servers that my router uses to Google's DNS servers (8.8.8.8 and 8.8.8.4) and clearing my browser cache.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jan 13 at 18:04









                  Tom DTom D

                  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.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1393684%2fbrowser-redirects-when-accessing-ip-or-dns%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

                      Plaza Victoria

                      In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

                      How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...