How to architect custom domain functionality Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern) Come Celebrate our 10 Year Anniversary!Blogger custom domain - pitfalls of domain pointing?Point S3 bucket to top level domain?How does a domain host itself authoritatively?Possible to direct naked domain to external IPSetting up Custom Domain with Tumblr isn't working — Correct A-record and CNAMEWhy can't a CNAME record be used at the apex (aka root) of a domain?Accessing original files on a domain which has A-Record redirect to tumblrHow do I configure a naked domain and a mail server to a cloud hosted app?Registrar nameservers vs. NS records for bare domain?How to point external domain to a subdomain?
What makes a man succeed?
How do living politicians protect their readily obtainable signatures from misuse?
Lagrange four-squares theorem --- deterministic complexity
How were pictures turned from film to a big picture in a picture frame before digital scanning?
Why can't I install Tomboy in Ubuntu Mate 19.04?
An adverb for when you're not exaggerating
How to write capital alpha?
Central Vacuuming: Is it worth it, and how does it compare to normal vacuuming?
Flash light on something
How does light 'choose' between wave and particle behaviour?
Why we try to capture variability?
Drawing spherical mirrors
How fail-safe is nr as stop bytes?
Draw 4 of the same figure in the same tikzpicture
Did Mueller's report provide an evidentiary basis for the claim of Russian govt election interference via social media?
How does the math work when buying airline miles?
Why is it faster to reheat something than it is to cook it?
Can a Beast Master ranger change beast companions?
Why weren't discrete x86 CPUs ever used in game hardware?
Trademark violation for app?
How to run automated tests after each commit?
What does 丫 mean? 丫是什么意思?
Putting class ranking in CV, but against dept guidelines
Should a wizard buy fine inks every time he want to copy spells into his spellbook?
How to architect custom domain functionality
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)
Come Celebrate our 10 Year Anniversary!Blogger custom domain - pitfalls of domain pointing?Point S3 bucket to top level domain?How does a domain host itself authoritatively?Possible to direct naked domain to external IPSetting up Custom Domain with Tumblr isn't working — Correct A-record and CNAMEWhy can't a CNAME record be used at the apex (aka root) of a domain?Accessing original files on a domain which has A-Record redirect to tumblrHow do I configure a naked domain and a mail server to a cloud hosted app?Registrar nameservers vs. NS records for bare domain?How to point external domain to a subdomain?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I am looking at Tumblr's Custom Domain feature.
It shows 66.6.44.4 as the IP address for an A record, and domains.tumblr.com for a CNAME.
I would like to have the following functionality. If users want a custom domain, they simply enter example.com for the A-name record, and example.com for the CNAME record.
First question is, if that is possible to support somehow.
If not, then why not is the question.
If it is possible, wondering roughly what is required. I have built many web servers but I haven't built a DNS server, and not sure what that even means or what it entails.
Second question is what exactly happens when the user specifies 66.6.44.4 (or in my case, example.com) as the A record, and likewise for the CNAME record. From what I can imagine, the request starts off in the browser as example.com. The A record was published into some domain registrar's system (maybe this is the DNS server, so like GoDaddy if the domain was registered there for a tumblr site), which connects somehow to the external registries of some sort. This makes it possible to discover that 66.6.44.4 is the address we want to go to. Question is, what happens at the server at that endpoint, what it does. It seems it would know the domain being requested, then it would look up your tumblr profile given that info. Not sure.
Basically looking for a brief explanation of how a system such as Tumblr's Custom Domain feature is implemented. What the A and CNAME records are allowed to be (if they can both be example.com for example). And generally how the request to a Tumblr page would be directed by using the A and CNAME records.
domain-name-system ip
New contributor
Lokasa Mawati is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I am looking at Tumblr's Custom Domain feature.
It shows 66.6.44.4 as the IP address for an A record, and domains.tumblr.com for a CNAME.
I would like to have the following functionality. If users want a custom domain, they simply enter example.com for the A-name record, and example.com for the CNAME record.
First question is, if that is possible to support somehow.
If not, then why not is the question.
If it is possible, wondering roughly what is required. I have built many web servers but I haven't built a DNS server, and not sure what that even means or what it entails.
Second question is what exactly happens when the user specifies 66.6.44.4 (or in my case, example.com) as the A record, and likewise for the CNAME record. From what I can imagine, the request starts off in the browser as example.com. The A record was published into some domain registrar's system (maybe this is the DNS server, so like GoDaddy if the domain was registered there for a tumblr site), which connects somehow to the external registries of some sort. This makes it possible to discover that 66.6.44.4 is the address we want to go to. Question is, what happens at the server at that endpoint, what it does. It seems it would know the domain being requested, then it would look up your tumblr profile given that info. Not sure.
Basically looking for a brief explanation of how a system such as Tumblr's Custom Domain feature is implemented. What the A and CNAME records are allowed to be (if they can both be example.com for example). And generally how the request to a Tumblr page would be directed by using the A and CNAME records.
domain-name-system ip
New contributor
Lokasa Mawati is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I am looking at Tumblr's Custom Domain feature.
It shows 66.6.44.4 as the IP address for an A record, and domains.tumblr.com for a CNAME.
I would like to have the following functionality. If users want a custom domain, they simply enter example.com for the A-name record, and example.com for the CNAME record.
First question is, if that is possible to support somehow.
If not, then why not is the question.
If it is possible, wondering roughly what is required. I have built many web servers but I haven't built a DNS server, and not sure what that even means or what it entails.
Second question is what exactly happens when the user specifies 66.6.44.4 (or in my case, example.com) as the A record, and likewise for the CNAME record. From what I can imagine, the request starts off in the browser as example.com. The A record was published into some domain registrar's system (maybe this is the DNS server, so like GoDaddy if the domain was registered there for a tumblr site), which connects somehow to the external registries of some sort. This makes it possible to discover that 66.6.44.4 is the address we want to go to. Question is, what happens at the server at that endpoint, what it does. It seems it would know the domain being requested, then it would look up your tumblr profile given that info. Not sure.
Basically looking for a brief explanation of how a system such as Tumblr's Custom Domain feature is implemented. What the A and CNAME records are allowed to be (if they can both be example.com for example). And generally how the request to a Tumblr page would be directed by using the A and CNAME records.
domain-name-system ip
New contributor
Lokasa Mawati is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I am looking at Tumblr's Custom Domain feature.
It shows 66.6.44.4 as the IP address for an A record, and domains.tumblr.com for a CNAME.
I would like to have the following functionality. If users want a custom domain, they simply enter example.com for the A-name record, and example.com for the CNAME record.
First question is, if that is possible to support somehow.
If not, then why not is the question.
If it is possible, wondering roughly what is required. I have built many web servers but I haven't built a DNS server, and not sure what that even means or what it entails.
Second question is what exactly happens when the user specifies 66.6.44.4 (or in my case, example.com) as the A record, and likewise for the CNAME record. From what I can imagine, the request starts off in the browser as example.com. The A record was published into some domain registrar's system (maybe this is the DNS server, so like GoDaddy if the domain was registered there for a tumblr site), which connects somehow to the external registries of some sort. This makes it possible to discover that 66.6.44.4 is the address we want to go to. Question is, what happens at the server at that endpoint, what it does. It seems it would know the domain being requested, then it would look up your tumblr profile given that info. Not sure.
Basically looking for a brief explanation of how a system such as Tumblr's Custom Domain feature is implemented. What the A and CNAME records are allowed to be (if they can both be example.com for example). And generally how the request to a Tumblr page would be directed by using the A and CNAME records.
domain-name-system ip
domain-name-system ip
New contributor
Lokasa Mawati is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Lokasa Mawati is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Lokasa Mawati is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked Apr 14 at 1:20
Lokasa MawatiLokasa Mawati
11
11
New contributor
Lokasa Mawati is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Lokasa Mawati is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Lokasa Mawati is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Tumblr, wordpress and a lot of web hoster do that.
It’s not a DNS trick, it’s a webserver binding trick.
Such hosters allow you to buy a binding entry in the webserver configuration in short.
As anyone can point a DNS name to another name, but the remote host will reject the Host field if the binding is not created, and will display it’s Default website.
add a comment |
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
);
);
Lokasa Mawati is a new contributor. Be nice, and check out our Code of Conduct.
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%2fserverfault.com%2fquestions%2f962943%2fhow-to-architect-custom-domain-functionality%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Tumblr, wordpress and a lot of web hoster do that.
It’s not a DNS trick, it’s a webserver binding trick.
Such hosters allow you to buy a binding entry in the webserver configuration in short.
As anyone can point a DNS name to another name, but the remote host will reject the Host field if the binding is not created, and will display it’s Default website.
add a comment |
Tumblr, wordpress and a lot of web hoster do that.
It’s not a DNS trick, it’s a webserver binding trick.
Such hosters allow you to buy a binding entry in the webserver configuration in short.
As anyone can point a DNS name to another name, but the remote host will reject the Host field if the binding is not created, and will display it’s Default website.
add a comment |
Tumblr, wordpress and a lot of web hoster do that.
It’s not a DNS trick, it’s a webserver binding trick.
Such hosters allow you to buy a binding entry in the webserver configuration in short.
As anyone can point a DNS name to another name, but the remote host will reject the Host field if the binding is not created, and will display it’s Default website.
Tumblr, wordpress and a lot of web hoster do that.
It’s not a DNS trick, it’s a webserver binding trick.
Such hosters allow you to buy a binding entry in the webserver configuration in short.
As anyone can point a DNS name to another name, but the remote host will reject the Host field if the binding is not created, and will display it’s Default website.
answered Apr 14 at 1:56
yagmoth555♦yagmoth555
12.4k31842
12.4k31842
add a comment |
add a comment |
Lokasa Mawati is a new contributor. Be nice, and check out our Code of Conduct.
Lokasa Mawati is a new contributor. Be nice, and check out our Code of Conduct.
Lokasa Mawati is a new contributor. Be nice, and check out our Code of Conduct.
Lokasa Mawati 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.
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%2fserverfault.com%2fquestions%2f962943%2fhow-to-architect-custom-domain-functionality%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