Why does https://domain-name.example work but www.domain-name.example throws 404 errorWhy don't self-closing script elements work?Recommended way to embed PDF in HTML?How can I select an element by name with jQuery?How do I remove the space between inline-block elements?How does Zalgo text work?Why does HTML think “chucknorris” is a color?Why does this CSS margin-top style not work?What is the purpose of the “role” attribute in HTML?Why does CSS work with fake elements?Is it possible to apply CSS to half of a character?

Can an escape pod land on Earth from orbit and not be immediately detected?

What are the advantages of using TLRs to rangefinders?

Is it true that "only photographers care about noise"?

typeid("") != typeid(const char*)

Is pointing finger in meeting consider bad?

Purpose of cylindrical attachments on Power Transmission towers

Is it ethical to cite a reviewer's papers even if they are rather irrelevant?

Arrows inside a commutative diagram using tikzcd

What game uses dice with compass point arrows, forbidden signs, explosions, arrows and targeting reticles?

Can Dive Down protect a creature against Pacifism?

Is there a term for when fiction refers to fiction

Am I being scammed by a sugar daddy?

In The Incredibles 2, why does Screenslaver's name use a pun on something that doesn't exist in the 1950s pastiche?

Approach sick days in feedback meeting

Jam with honey & without pectin has a saucy consistency always

How to search for Android apps without ads?

Optimising matrix generation time

Are athletes' college degrees discounted by employers and graduate school admissions?

Why can't we feel the Earth's revolution?

Does this Spirit Guardians + Thorn Whip combo work?

Why is Skinner so awkward in Hot Fuzz?

Placement of positioning lights on A320 winglets

Lightning Web Component (LWC) not evaluating if:true from test

Does every chapter have to "blow the reader away" so to speak?



Why does https://domain-name.example work but www.domain-name.example throws 404 error


Why don't self-closing script elements work?Recommended way to embed PDF in HTML?How can I select an element by name with jQuery?How do I remove the space between inline-block elements?How does Zalgo text work?Why does HTML think “chucknorris” is a color?Why does this CSS margin-top style not work?What is the purpose of the “role” attribute in HTML?Why does CSS work with fake elements?Is it possible to apply CSS to half of a character?






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








-2















Why does https://vivian-duong.gitlab.io work but www.vivian-duong.gitlab.io throw an error?










share|improve this question






























    -2















    Why does https://vivian-duong.gitlab.io work but www.vivian-duong.gitlab.io throw an error?










    share|improve this question


























      -2












      -2








      -2








      Why does https://vivian-duong.gitlab.io work but www.vivian-duong.gitlab.io throw an error?










      share|improve this question
















      Why does https://vivian-duong.gitlab.io work but www.vivian-duong.gitlab.io throw an error?







      html web dns






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 25 at 15:53









      Patrick Mevzek

      4,40891931




      4,40891931










      asked Mar 25 at 0:49









      vivianvivian

      1208




      1208






















          2 Answers
          2






          active

          oldest

          votes


















          0














          Here the domain is gitlab.io. But vivian-duong.gitlab.io is the sub domain. The www prefix doesn't work before sub domain. You have to add a CNAME to vivian-duong.gitlab.io to make it work.






          share|improve this answer






























            0














            Because there is no web server configured to listen for requests for www.vivian-duong.gitlab.io.



            It's the same as if you requested non-existant-name.vivian-duong.gitlab.io. As far as the web server is concerned, it's a request for something it doesn't have.



            Someone needs to setup the web server to listen and respond to requests for www.vivian-duong.gitlab.io.



            DNS is resolving to the correct IP address, however the web server isn't configured to respond to that host header.






            share|improve this answer























              Your Answer






              StackExchange.ifUsing("editor", function ()
              StackExchange.using("externalEditor", function ()
              StackExchange.using("snippets", function ()
              StackExchange.snippets.init();
              );
              );
              , "code-snippets");

              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "1"
              ;
              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%2fstackoverflow.com%2fquestions%2f55330024%2fwhy-does-https-domain-name-example-work-but-www-domain-name-example-throws-404%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














              Here the domain is gitlab.io. But vivian-duong.gitlab.io is the sub domain. The www prefix doesn't work before sub domain. You have to add a CNAME to vivian-duong.gitlab.io to make it work.






              share|improve this answer



























                0














                Here the domain is gitlab.io. But vivian-duong.gitlab.io is the sub domain. The www prefix doesn't work before sub domain. You have to add a CNAME to vivian-duong.gitlab.io to make it work.






                share|improve this answer

























                  0












                  0








                  0







                  Here the domain is gitlab.io. But vivian-duong.gitlab.io is the sub domain. The www prefix doesn't work before sub domain. You have to add a CNAME to vivian-duong.gitlab.io to make it work.






                  share|improve this answer













                  Here the domain is gitlab.io. But vivian-duong.gitlab.io is the sub domain. The www prefix doesn't work before sub domain. You have to add a CNAME to vivian-duong.gitlab.io to make it work.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Mar 25 at 1:30









                  Adnan TokyAdnan Toky

                  722412




                  722412























                      0














                      Because there is no web server configured to listen for requests for www.vivian-duong.gitlab.io.



                      It's the same as if you requested non-existant-name.vivian-duong.gitlab.io. As far as the web server is concerned, it's a request for something it doesn't have.



                      Someone needs to setup the web server to listen and respond to requests for www.vivian-duong.gitlab.io.



                      DNS is resolving to the correct IP address, however the web server isn't configured to respond to that host header.






                      share|improve this answer



























                        0














                        Because there is no web server configured to listen for requests for www.vivian-duong.gitlab.io.



                        It's the same as if you requested non-existant-name.vivian-duong.gitlab.io. As far as the web server is concerned, it's a request for something it doesn't have.



                        Someone needs to setup the web server to listen and respond to requests for www.vivian-duong.gitlab.io.



                        DNS is resolving to the correct IP address, however the web server isn't configured to respond to that host header.






                        share|improve this answer

























                          0












                          0








                          0







                          Because there is no web server configured to listen for requests for www.vivian-duong.gitlab.io.



                          It's the same as if you requested non-existant-name.vivian-duong.gitlab.io. As far as the web server is concerned, it's a request for something it doesn't have.



                          Someone needs to setup the web server to listen and respond to requests for www.vivian-duong.gitlab.io.



                          DNS is resolving to the correct IP address, however the web server isn't configured to respond to that host header.






                          share|improve this answer













                          Because there is no web server configured to listen for requests for www.vivian-duong.gitlab.io.



                          It's the same as if you requested non-existant-name.vivian-duong.gitlab.io. As far as the web server is concerned, it's a request for something it doesn't have.



                          Someone needs to setup the web server to listen and respond to requests for www.vivian-duong.gitlab.io.



                          DNS is resolving to the correct IP address, however the web server isn't configured to respond to that host header.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Mar 25 at 1:46









                          Terry CarmenTerry Carmen

                          2,7001819




                          2,7001819



























                              draft saved

                              draft discarded
















































                              Thanks for contributing an answer to Stack Overflow!


                              • 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%2fstackoverflow.com%2fquestions%2f55330024%2fwhy-does-https-domain-name-example-work-but-www-domain-name-example-throws-404%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

                              Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                              Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

                              Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript