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;
Why does https://vivian-duong.gitlab.io work but www.vivian-duong.gitlab.io throw an error?
html web dns
add a comment |
Why does https://vivian-duong.gitlab.io work but www.vivian-duong.gitlab.io throw an error?
html web dns
add a comment |
Why does https://vivian-duong.gitlab.io work but www.vivian-duong.gitlab.io throw an error?
html web dns
Why does https://vivian-duong.gitlab.io work but www.vivian-duong.gitlab.io throw an error?
html web dns
html web dns
edited Mar 25 at 15:53
Patrick Mevzek
4,40891931
4,40891931
asked Mar 25 at 0:49
vivianvivian
1208
1208
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
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.
add a comment |
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.
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment |
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.
add a comment |
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.
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.
answered Mar 25 at 1:30
Adnan TokyAdnan Toky
722412
722412
add a comment |
add a comment |
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.
add a comment |
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.
add a comment |
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.
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.
answered Mar 25 at 1:46
Terry CarmenTerry Carmen
2,7001819
2,7001819
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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