Nginx wont load correct contentFree Web Forwarding without NameserversHaving trouble removing HTTP header...

Took a trip to a parallel universe, need help deciphering

Do I have a twin with permutated remainders?

90's TV series where a boy goes to another dimension through portal near power lines

Is it possible to run Internet Explorer on OS X El Capitan?

What's the point of deactivating Num Lock on login screens?

Would Slavery Reparations be considered Bills of Attainder and hence Illegal?

In a spin, are both wings stalled?

What exploit are these user agents trying to use?

Doing something right before you need it - expression for this?

How can I prevent hyper evolved versions of regular creatures from wiping out their cousins?

Memorizing the Keyboard

Can I ask the recruiters in my resume to put the reason why I am rejected?

Assassin's bullet with mercury

Where does SFDX store details about scratch orgs?

Is the Joker left-handed?

What killed these X2 caps?

Could gravitational lensing be used to protect a spaceship from a laser?

Why is the 'in' operator throwing an error with a string literal instead of logging false?

What do you call someone who asks many questions?

Did Shadowfax go to Valinor?

Is it unprofessional to ask if a job posting on GlassDoor is real?

Emailing HOD to enhance faculty application

What's the difference between 'rename' and 'mv'?

Watching something be written to a file live with tail



Nginx wont load correct content


Free Web Forwarding without NameserversHaving trouble removing HTTP header “Cache-control”Nginx: Access same content from multiple URLsNginx - too many redirectsNginx SSL config returns too many redirects, but regular http version is finenginx redirect without portnginx too many redirects (cloudflare and https)Nginx file upload does not workWhat cloudflare pagerule can make a subdomain appears like a url path under the main domain?Nginx - Root Not Redirecting to www Despite Records and Server Block






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I have had this problem for a few weeks now and its staring to annoy



Pre Info



On Ubuntu 18.04.2 running Nginx 1.15.10 and php 7.2



Using Clouldflare DNS



Clear cashed pages and images in Chrome before reloading a page



Problem



I have a.example.com, b.example.com, c.example.com and d.example.com



a.example.com, b.example.com, c.example.com all load correctly.



d.example.com loads the content of a.example.com even after specifing server_name and have a different root path



There is also example.net but that is unaffected



I have Tried




  • Running cloudflare protection? (orange cloud) both enabled and disabled

  • Cleared cloudflare cache

  • Running on alternate ports and domain


    • Alt port times out

    • Alt domain and tld (d.examplebeta.tk) redirects to a.example.com



  • Have tried giving its own conf file in sites-enabled but still loads a.example.com content
    -Have tried running on just http and https with a 301 http > https redirect both enabled disabled
    -Ignores wether the 301 is active or not


    • On just http redirects to a.example.com

    • On just https stays on d.example.com but still loads a.example.com content



  • The access log dosent show anything wrong, just 200 or 301 http codes


If you would like to see any files let me know



Any help is appreciated, Thanks in Advance









share







New contributor




domkab16 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



























    0















    I have had this problem for a few weeks now and its staring to annoy



    Pre Info



    On Ubuntu 18.04.2 running Nginx 1.15.10 and php 7.2



    Using Clouldflare DNS



    Clear cashed pages and images in Chrome before reloading a page



    Problem



    I have a.example.com, b.example.com, c.example.com and d.example.com



    a.example.com, b.example.com, c.example.com all load correctly.



    d.example.com loads the content of a.example.com even after specifing server_name and have a different root path



    There is also example.net but that is unaffected



    I have Tried




    • Running cloudflare protection? (orange cloud) both enabled and disabled

    • Cleared cloudflare cache

    • Running on alternate ports and domain


      • Alt port times out

      • Alt domain and tld (d.examplebeta.tk) redirects to a.example.com



    • Have tried giving its own conf file in sites-enabled but still loads a.example.com content
      -Have tried running on just http and https with a 301 http > https redirect both enabled disabled
      -Ignores wether the 301 is active or not


      • On just http redirects to a.example.com

      • On just https stays on d.example.com but still loads a.example.com content



    • The access log dosent show anything wrong, just 200 or 301 http codes


    If you would like to see any files let me know



    Any help is appreciated, Thanks in Advance









    share







    New contributor




    domkab16 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      I have had this problem for a few weeks now and its staring to annoy



      Pre Info



      On Ubuntu 18.04.2 running Nginx 1.15.10 and php 7.2



      Using Clouldflare DNS



      Clear cashed pages and images in Chrome before reloading a page



      Problem



      I have a.example.com, b.example.com, c.example.com and d.example.com



      a.example.com, b.example.com, c.example.com all load correctly.



      d.example.com loads the content of a.example.com even after specifing server_name and have a different root path



      There is also example.net but that is unaffected



      I have Tried




      • Running cloudflare protection? (orange cloud) both enabled and disabled

      • Cleared cloudflare cache

      • Running on alternate ports and domain


        • Alt port times out

        • Alt domain and tld (d.examplebeta.tk) redirects to a.example.com



      • Have tried giving its own conf file in sites-enabled but still loads a.example.com content
        -Have tried running on just http and https with a 301 http > https redirect both enabled disabled
        -Ignores wether the 301 is active or not


        • On just http redirects to a.example.com

        • On just https stays on d.example.com but still loads a.example.com content



      • The access log dosent show anything wrong, just 200 or 301 http codes


      If you would like to see any files let me know



      Any help is appreciated, Thanks in Advance









      share







      New contributor




      domkab16 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I have had this problem for a few weeks now and its staring to annoy



      Pre Info



      On Ubuntu 18.04.2 running Nginx 1.15.10 and php 7.2



      Using Clouldflare DNS



      Clear cashed pages and images in Chrome before reloading a page



      Problem



      I have a.example.com, b.example.com, c.example.com and d.example.com



      a.example.com, b.example.com, c.example.com all load correctly.



      d.example.com loads the content of a.example.com even after specifing server_name and have a different root path



      There is also example.net but that is unaffected



      I have Tried




      • Running cloudflare protection? (orange cloud) both enabled and disabled

      • Cleared cloudflare cache

      • Running on alternate ports and domain


        • Alt port times out

        • Alt domain and tld (d.examplebeta.tk) redirects to a.example.com



      • Have tried giving its own conf file in sites-enabled but still loads a.example.com content
        -Have tried running on just http and https with a 301 http > https redirect both enabled disabled
        -Ignores wether the 301 is active or not


        • On just http redirects to a.example.com

        • On just https stays on d.example.com but still loads a.example.com content



      • The access log dosent show anything wrong, just 200 or 301 http codes


      If you would like to see any files let me know



      Any help is appreciated, Thanks in Advance







      linux ubuntu nginx cloudflare





      share







      New contributor




      domkab16 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share







      New contributor




      domkab16 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share






      New contributor




      domkab16 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 6 mins ago









      domkab16domkab16

      11




      11




      New contributor




      domkab16 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      domkab16 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      domkab16 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "2"
          };
          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
          });


          }
          });






          domkab16 is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f961629%2fnginx-wont-load-correct-content%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          domkab16 is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          domkab16 is a new contributor. Be nice, and check out our Code of Conduct.













          domkab16 is a new contributor. Be nice, and check out our Code of Conduct.












          domkab16 is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Server Fault!


          • 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%2fserverfault.com%2fquestions%2f961629%2fnginx-wont-load-correct-content%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

          Фонтен-ла-Гаярд Зміст Демографія | Економіка | Посилання |...

          Список ссавців Італії Природоохоронні статуси | Список |...

          Маріан Котлеба Зміст Життєпис | Політичні погляди |...