Firefox is Ignoring Ubutnu hosts File

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
2
down vote

favorite












I am running Ubuntu 16.04 and I am using HTTP proxy to connect to the INTERNET in my university. I have edited my hosts file as below



127.0.0.1 localhost
127.0.1.1 user-PE62-7RD
10.105.8.13 mail.com www.mail.com


but when i type mail.com in Firefox it goes to mail.com site rather than to ip specified. But when i ping with terminal it is pinging correct IP. And also i can access the Web App on the server using IP address but not the local domain name










share|improve this question

























    up vote
    2
    down vote

    favorite












    I am running Ubuntu 16.04 and I am using HTTP proxy to connect to the INTERNET in my university. I have edited my hosts file as below



    127.0.0.1 localhost
    127.0.1.1 user-PE62-7RD
    10.105.8.13 mail.com www.mail.com


    but when i type mail.com in Firefox it goes to mail.com site rather than to ip specified. But when i ping with terminal it is pinging correct IP. And also i can access the Web App on the server using IP address but not the local domain name










    share|improve this question























      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      I am running Ubuntu 16.04 and I am using HTTP proxy to connect to the INTERNET in my university. I have edited my hosts file as below



      127.0.0.1 localhost
      127.0.1.1 user-PE62-7RD
      10.105.8.13 mail.com www.mail.com


      but when i type mail.com in Firefox it goes to mail.com site rather than to ip specified. But when i ping with terminal it is pinging correct IP. And also i can access the Web App on the server using IP address but not the local domain name










      share|improve this question













      I am running Ubuntu 16.04 and I am using HTTP proxy to connect to the INTERNET in my university. I have edited my hosts file as below



      127.0.0.1 localhost
      127.0.1.1 user-PE62-7RD
      10.105.8.13 mail.com www.mail.com


      but when i type mail.com in Firefox it goes to mail.com site rather than to ip specified. But when i ping with terminal it is pinging correct IP. And also i can access the Web App on the server using IP address but not the local domain name







      server firefox proxy hosts






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 7 at 17:41









      Sai Chaithanya Adapa

      134




      134




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote



          accepted










          If you using [Manual Proxy configuration], adding the domain "mail.com" or host "www.mail.com" to [No Proxy for] field in your example will solve the problem.
          Firefox sends proxy request before resolving the hosts file or dns.






          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            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: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1003950%2ffirefox-is-ignoring-ubutnu-hosts-file%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote



            accepted










            If you using [Manual Proxy configuration], adding the domain "mail.com" or host "www.mail.com" to [No Proxy for] field in your example will solve the problem.
            Firefox sends proxy request before resolving the hosts file or dns.






            share|improve this answer
























              up vote
              0
              down vote



              accepted










              If you using [Manual Proxy configuration], adding the domain "mail.com" or host "www.mail.com" to [No Proxy for] field in your example will solve the problem.
              Firefox sends proxy request before resolving the hosts file or dns.






              share|improve this answer






















                up vote
                0
                down vote



                accepted







                up vote
                0
                down vote



                accepted






                If you using [Manual Proxy configuration], adding the domain "mail.com" or host "www.mail.com" to [No Proxy for] field in your example will solve the problem.
                Firefox sends proxy request before resolving the hosts file or dns.






                share|improve this answer












                If you using [Manual Proxy configuration], adding the domain "mail.com" or host "www.mail.com" to [No Proxy for] field in your example will solve the problem.
                Firefox sends proxy request before resolving the hosts file or dns.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 16 at 11:10









                takahar tanak

                161




                161



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1003950%2ffirefox-is-ignoring-ubutnu-hosts-file%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

                    Unable to upgrade pip

                    Cutting all the characters after the last /