How to clear cached redirects in Chrome












18















How do you clear cached redirects in Chrome?



I changed the DNS for a domain name and when I go to mydomain.com. Even though ping mydomain.com now shows it resolves to the correct IP, if I type in "mydomain.com" into Chrome, it still redirects to mydomain.com/404, which was a redirect automatically setup by the old webhost.



Clearing Chrome's browser cache has no effect, and Chrome seems to ignore /etc/hosts. I tried using a "different" URL, like mydomain.com?123, but Chrome still redirects to mydomain.com/404. Is this a bug or is there someway to clear whatever cache Chrome uses to save 301 redirects?










share|improve this question



























    18















    How do you clear cached redirects in Chrome?



    I changed the DNS for a domain name and when I go to mydomain.com. Even though ping mydomain.com now shows it resolves to the correct IP, if I type in "mydomain.com" into Chrome, it still redirects to mydomain.com/404, which was a redirect automatically setup by the old webhost.



    Clearing Chrome's browser cache has no effect, and Chrome seems to ignore /etc/hosts. I tried using a "different" URL, like mydomain.com?123, but Chrome still redirects to mydomain.com/404. Is this a bug or is there someway to clear whatever cache Chrome uses to save 301 redirects?










    share|improve this question

























      18












      18








      18


      3






      How do you clear cached redirects in Chrome?



      I changed the DNS for a domain name and when I go to mydomain.com. Even though ping mydomain.com now shows it resolves to the correct IP, if I type in "mydomain.com" into Chrome, it still redirects to mydomain.com/404, which was a redirect automatically setup by the old webhost.



      Clearing Chrome's browser cache has no effect, and Chrome seems to ignore /etc/hosts. I tried using a "different" URL, like mydomain.com?123, but Chrome still redirects to mydomain.com/404. Is this a bug or is there someway to clear whatever cache Chrome uses to save 301 redirects?










      share|improve this question














      How do you clear cached redirects in Chrome?



      I changed the DNS for a domain name and when I go to mydomain.com. Even though ping mydomain.com now shows it resolves to the correct IP, if I type in "mydomain.com" into Chrome, it still redirects to mydomain.com/404, which was a redirect automatically setup by the old webhost.



      Clearing Chrome's browser cache has no effect, and Chrome seems to ignore /etc/hosts. I tried using a "different" URL, like mydomain.com?123, but Chrome still redirects to mydomain.com/404. Is this a bug or is there someway to clear whatever cache Chrome uses to save 301 redirects?







      google-chrome browser cache browser-cache






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 11 '17 at 22:04









      CerinCerin

      2,635123453




      2,635123453






















          4 Answers
          4






          active

          oldest

          votes


















          15














          On desktop Chrome, deleting the last hour of browsing history works, so long as you've followed the redirect within the last hour.



          On Android Chrome, visit chrome://net-internals, click the downward arrow at the top right corner, and choose 'clear cache'. That is the only solution I found for Chrome on Android.






          share|improve this answer



















          • 2





            On desktop - chrome://net-internals approach does work also.

            – Francis Martens
            Apr 18 '18 at 8:08






          • 1





            In OS X when modifying hosts file Chrome just keeps redirecting despite clearing everything; even thought chrome://net-internals. It even redirects when using private browsing tabs, so it is probably not your regular cache issue... Any ideas?

            – LyK
            May 8 '18 at 22:57













          • Seems to be a known Chrome issue. Some solutions are presented here: superuser.com/questions/648133/…

            – LyK
            May 8 '18 at 23:13



















          6














          I had a similar issue with a site still re-directing to my.site.com/new-site
          and found the 'clear cache' via internals to work.



          Redirects can be caused by a variety of things - caching by your browser, your system, the network, the site configuration itself and any in between steps.



          In addition to clearing browsing history and cookies, I also tried the answers from Clear cache for specific domain name in chrome - I suggest trying answers in order of increasing complexity (e.g. start with what you're happiest with and if that doesn't work, try one of the more tricky solutions)



          From https://superuser.com/users/83619/tom-auger




          After opening up the developer tools (usually by pressing F12) Click + Hold on the "Reload Page" button. From the popup list, choose "Empty Cache and Hard Reload".




          From https://superuser.com/users/87608/euroblaze




          Here's how to delete Chrome's cookies selectively by domain or subdomain:

          * go to chrome://settings/content/cookies

          * type the domain name in the search box

          * click delete







          share|improve this answer



















          • 1





            +1 My issue was that http : //127.0.0.1:8000 was redirecting to https : //127.0.0.1:8000 which is obviously not what I wanted. I tried everything from deleting cookies to checking out chrome://net-internals but it didn't seem to work for me. What did work for me was bringing up the chrome dev tools, click+hold an then "Empty Cache and Hard Reload".

            – Akshay Gaur
            Jul 19 '18 at 14:33





















          0














          If it's an 301 redirect Chrome will cache it. To clear the cache, go to:



          Chrome Menu > Settings > Show advanced settings... > Privacy > Click Clear browsing data...


          Good luck.






          share|improve this answer
























          • which part shall one thick for the redirects?

            – João Pimentel Ferreira
            Apr 4 '17 at 19:30











          • And I've cleared my browser history and it didn't solve the issue, The link from search results pointed me to this comment, use most up voted answer instead that works just fine.

            – jcubic
            Jun 24 '18 at 11:49



















          0














          Go to chrome://net-internals/#dns and click the Clear Host Cache button






          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%2f1166181%2fhow-to-clear-cached-redirects-in-chrome%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









            15














            On desktop Chrome, deleting the last hour of browsing history works, so long as you've followed the redirect within the last hour.



            On Android Chrome, visit chrome://net-internals, click the downward arrow at the top right corner, and choose 'clear cache'. That is the only solution I found for Chrome on Android.






            share|improve this answer



















            • 2





              On desktop - chrome://net-internals approach does work also.

              – Francis Martens
              Apr 18 '18 at 8:08






            • 1





              In OS X when modifying hosts file Chrome just keeps redirecting despite clearing everything; even thought chrome://net-internals. It even redirects when using private browsing tabs, so it is probably not your regular cache issue... Any ideas?

              – LyK
              May 8 '18 at 22:57













            • Seems to be a known Chrome issue. Some solutions are presented here: superuser.com/questions/648133/…

              – LyK
              May 8 '18 at 23:13
















            15














            On desktop Chrome, deleting the last hour of browsing history works, so long as you've followed the redirect within the last hour.



            On Android Chrome, visit chrome://net-internals, click the downward arrow at the top right corner, and choose 'clear cache'. That is the only solution I found for Chrome on Android.






            share|improve this answer



















            • 2





              On desktop - chrome://net-internals approach does work also.

              – Francis Martens
              Apr 18 '18 at 8:08






            • 1





              In OS X when modifying hosts file Chrome just keeps redirecting despite clearing everything; even thought chrome://net-internals. It even redirects when using private browsing tabs, so it is probably not your regular cache issue... Any ideas?

              – LyK
              May 8 '18 at 22:57













            • Seems to be a known Chrome issue. Some solutions are presented here: superuser.com/questions/648133/…

              – LyK
              May 8 '18 at 23:13














            15












            15








            15







            On desktop Chrome, deleting the last hour of browsing history works, so long as you've followed the redirect within the last hour.



            On Android Chrome, visit chrome://net-internals, click the downward arrow at the top right corner, and choose 'clear cache'. That is the only solution I found for Chrome on Android.






            share|improve this answer













            On desktop Chrome, deleting the last hour of browsing history works, so long as you've followed the redirect within the last hour.



            On Android Chrome, visit chrome://net-internals, click the downward arrow at the top right corner, and choose 'clear cache'. That is the only solution I found for Chrome on Android.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Sep 11 '17 at 19:45









            Drew NoakesDrew Noakes

            1,50711324




            1,50711324








            • 2





              On desktop - chrome://net-internals approach does work also.

              – Francis Martens
              Apr 18 '18 at 8:08






            • 1





              In OS X when modifying hosts file Chrome just keeps redirecting despite clearing everything; even thought chrome://net-internals. It even redirects when using private browsing tabs, so it is probably not your regular cache issue... Any ideas?

              – LyK
              May 8 '18 at 22:57













            • Seems to be a known Chrome issue. Some solutions are presented here: superuser.com/questions/648133/…

              – LyK
              May 8 '18 at 23:13














            • 2





              On desktop - chrome://net-internals approach does work also.

              – Francis Martens
              Apr 18 '18 at 8:08






            • 1





              In OS X when modifying hosts file Chrome just keeps redirecting despite clearing everything; even thought chrome://net-internals. It even redirects when using private browsing tabs, so it is probably not your regular cache issue... Any ideas?

              – LyK
              May 8 '18 at 22:57













            • Seems to be a known Chrome issue. Some solutions are presented here: superuser.com/questions/648133/…

              – LyK
              May 8 '18 at 23:13








            2




            2





            On desktop - chrome://net-internals approach does work also.

            – Francis Martens
            Apr 18 '18 at 8:08





            On desktop - chrome://net-internals approach does work also.

            – Francis Martens
            Apr 18 '18 at 8:08




            1




            1





            In OS X when modifying hosts file Chrome just keeps redirecting despite clearing everything; even thought chrome://net-internals. It even redirects when using private browsing tabs, so it is probably not your regular cache issue... Any ideas?

            – LyK
            May 8 '18 at 22:57







            In OS X when modifying hosts file Chrome just keeps redirecting despite clearing everything; even thought chrome://net-internals. It even redirects when using private browsing tabs, so it is probably not your regular cache issue... Any ideas?

            – LyK
            May 8 '18 at 22:57















            Seems to be a known Chrome issue. Some solutions are presented here: superuser.com/questions/648133/…

            – LyK
            May 8 '18 at 23:13





            Seems to be a known Chrome issue. Some solutions are presented here: superuser.com/questions/648133/…

            – LyK
            May 8 '18 at 23:13













            6














            I had a similar issue with a site still re-directing to my.site.com/new-site
            and found the 'clear cache' via internals to work.



            Redirects can be caused by a variety of things - caching by your browser, your system, the network, the site configuration itself and any in between steps.



            In addition to clearing browsing history and cookies, I also tried the answers from Clear cache for specific domain name in chrome - I suggest trying answers in order of increasing complexity (e.g. start with what you're happiest with and if that doesn't work, try one of the more tricky solutions)



            From https://superuser.com/users/83619/tom-auger




            After opening up the developer tools (usually by pressing F12) Click + Hold on the "Reload Page" button. From the popup list, choose "Empty Cache and Hard Reload".




            From https://superuser.com/users/87608/euroblaze




            Here's how to delete Chrome's cookies selectively by domain or subdomain:

            * go to chrome://settings/content/cookies

            * type the domain name in the search box

            * click delete







            share|improve this answer



















            • 1





              +1 My issue was that http : //127.0.0.1:8000 was redirecting to https : //127.0.0.1:8000 which is obviously not what I wanted. I tried everything from deleting cookies to checking out chrome://net-internals but it didn't seem to work for me. What did work for me was bringing up the chrome dev tools, click+hold an then "Empty Cache and Hard Reload".

              – Akshay Gaur
              Jul 19 '18 at 14:33


















            6














            I had a similar issue with a site still re-directing to my.site.com/new-site
            and found the 'clear cache' via internals to work.



            Redirects can be caused by a variety of things - caching by your browser, your system, the network, the site configuration itself and any in between steps.



            In addition to clearing browsing history and cookies, I also tried the answers from Clear cache for specific domain name in chrome - I suggest trying answers in order of increasing complexity (e.g. start with what you're happiest with and if that doesn't work, try one of the more tricky solutions)



            From https://superuser.com/users/83619/tom-auger




            After opening up the developer tools (usually by pressing F12) Click + Hold on the "Reload Page" button. From the popup list, choose "Empty Cache and Hard Reload".




            From https://superuser.com/users/87608/euroblaze




            Here's how to delete Chrome's cookies selectively by domain or subdomain:

            * go to chrome://settings/content/cookies

            * type the domain name in the search box

            * click delete







            share|improve this answer



















            • 1





              +1 My issue was that http : //127.0.0.1:8000 was redirecting to https : //127.0.0.1:8000 which is obviously not what I wanted. I tried everything from deleting cookies to checking out chrome://net-internals but it didn't seem to work for me. What did work for me was bringing up the chrome dev tools, click+hold an then "Empty Cache and Hard Reload".

              – Akshay Gaur
              Jul 19 '18 at 14:33
















            6












            6








            6







            I had a similar issue with a site still re-directing to my.site.com/new-site
            and found the 'clear cache' via internals to work.



            Redirects can be caused by a variety of things - caching by your browser, your system, the network, the site configuration itself and any in between steps.



            In addition to clearing browsing history and cookies, I also tried the answers from Clear cache for specific domain name in chrome - I suggest trying answers in order of increasing complexity (e.g. start with what you're happiest with and if that doesn't work, try one of the more tricky solutions)



            From https://superuser.com/users/83619/tom-auger




            After opening up the developer tools (usually by pressing F12) Click + Hold on the "Reload Page" button. From the popup list, choose "Empty Cache and Hard Reload".




            From https://superuser.com/users/87608/euroblaze




            Here's how to delete Chrome's cookies selectively by domain or subdomain:

            * go to chrome://settings/content/cookies

            * type the domain name in the search box

            * click delete







            share|improve this answer













            I had a similar issue with a site still re-directing to my.site.com/new-site
            and found the 'clear cache' via internals to work.



            Redirects can be caused by a variety of things - caching by your browser, your system, the network, the site configuration itself and any in between steps.



            In addition to clearing browsing history and cookies, I also tried the answers from Clear cache for specific domain name in chrome - I suggest trying answers in order of increasing complexity (e.g. start with what you're happiest with and if that doesn't work, try one of the more tricky solutions)



            From https://superuser.com/users/83619/tom-auger




            After opening up the developer tools (usually by pressing F12) Click + Hold on the "Reload Page" button. From the popup list, choose "Empty Cache and Hard Reload".




            From https://superuser.com/users/87608/euroblaze




            Here's how to delete Chrome's cookies selectively by domain or subdomain:

            * go to chrome://settings/content/cookies

            * type the domain name in the search box

            * click delete








            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Nov 13 '17 at 13:05









            SandraSandra

            6113




            6113








            • 1





              +1 My issue was that http : //127.0.0.1:8000 was redirecting to https : //127.0.0.1:8000 which is obviously not what I wanted. I tried everything from deleting cookies to checking out chrome://net-internals but it didn't seem to work for me. What did work for me was bringing up the chrome dev tools, click+hold an then "Empty Cache and Hard Reload".

              – Akshay Gaur
              Jul 19 '18 at 14:33
















            • 1





              +1 My issue was that http : //127.0.0.1:8000 was redirecting to https : //127.0.0.1:8000 which is obviously not what I wanted. I tried everything from deleting cookies to checking out chrome://net-internals but it didn't seem to work for me. What did work for me was bringing up the chrome dev tools, click+hold an then "Empty Cache and Hard Reload".

              – Akshay Gaur
              Jul 19 '18 at 14:33










            1




            1





            +1 My issue was that http : //127.0.0.1:8000 was redirecting to https : //127.0.0.1:8000 which is obviously not what I wanted. I tried everything from deleting cookies to checking out chrome://net-internals but it didn't seem to work for me. What did work for me was bringing up the chrome dev tools, click+hold an then "Empty Cache and Hard Reload".

            – Akshay Gaur
            Jul 19 '18 at 14:33







            +1 My issue was that http : //127.0.0.1:8000 was redirecting to https : //127.0.0.1:8000 which is obviously not what I wanted. I tried everything from deleting cookies to checking out chrome://net-internals but it didn't seem to work for me. What did work for me was bringing up the chrome dev tools, click+hold an then "Empty Cache and Hard Reload".

            – Akshay Gaur
            Jul 19 '18 at 14:33













            0














            If it's an 301 redirect Chrome will cache it. To clear the cache, go to:



            Chrome Menu > Settings > Show advanced settings... > Privacy > Click Clear browsing data...


            Good luck.






            share|improve this answer
























            • which part shall one thick for the redirects?

              – João Pimentel Ferreira
              Apr 4 '17 at 19:30











            • And I've cleared my browser history and it didn't solve the issue, The link from search results pointed me to this comment, use most up voted answer instead that works just fine.

              – jcubic
              Jun 24 '18 at 11:49
















            0














            If it's an 301 redirect Chrome will cache it. To clear the cache, go to:



            Chrome Menu > Settings > Show advanced settings... > Privacy > Click Clear browsing data...


            Good luck.






            share|improve this answer
























            • which part shall one thick for the redirects?

              – João Pimentel Ferreira
              Apr 4 '17 at 19:30











            • And I've cleared my browser history and it didn't solve the issue, The link from search results pointed me to this comment, use most up voted answer instead that works just fine.

              – jcubic
              Jun 24 '18 at 11:49














            0












            0








            0







            If it's an 301 redirect Chrome will cache it. To clear the cache, go to:



            Chrome Menu > Settings > Show advanced settings... > Privacy > Click Clear browsing data...


            Good luck.






            share|improve this answer













            If it's an 301 redirect Chrome will cache it. To clear the cache, go to:



            Chrome Menu > Settings > Show advanced settings... > Privacy > Click Clear browsing data...


            Good luck.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Mar 29 '17 at 17:12









            Agu DondoAgu Dondo

            10113




            10113













            • which part shall one thick for the redirects?

              – João Pimentel Ferreira
              Apr 4 '17 at 19:30











            • And I've cleared my browser history and it didn't solve the issue, The link from search results pointed me to this comment, use most up voted answer instead that works just fine.

              – jcubic
              Jun 24 '18 at 11:49



















            • which part shall one thick for the redirects?

              – João Pimentel Ferreira
              Apr 4 '17 at 19:30











            • And I've cleared my browser history and it didn't solve the issue, The link from search results pointed me to this comment, use most up voted answer instead that works just fine.

              – jcubic
              Jun 24 '18 at 11:49

















            which part shall one thick for the redirects?

            – João Pimentel Ferreira
            Apr 4 '17 at 19:30





            which part shall one thick for the redirects?

            – João Pimentel Ferreira
            Apr 4 '17 at 19:30













            And I've cleared my browser history and it didn't solve the issue, The link from search results pointed me to this comment, use most up voted answer instead that works just fine.

            – jcubic
            Jun 24 '18 at 11:49





            And I've cleared my browser history and it didn't solve the issue, The link from search results pointed me to this comment, use most up voted answer instead that works just fine.

            – jcubic
            Jun 24 '18 at 11:49











            0














            Go to chrome://net-internals/#dns and click the Clear Host Cache button






            share|improve this answer






























              0














              Go to chrome://net-internals/#dns and click the Clear Host Cache button






              share|improve this answer




























                0












                0








                0







                Go to chrome://net-internals/#dns and click the Clear Host Cache button






                share|improve this answer















                Go to chrome://net-internals/#dns and click the Clear Host Cache button







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jan 8 at 3:30

























                answered Jan 8 at 3:13









                Nathan HannaNathan Hanna

                1013




                1013






























                    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%2f1166181%2fhow-to-clear-cached-redirects-in-chrome%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-я гвардейская общевойсковая армия

                    Алькесар