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;








-1















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.










share|improve this question







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.


























    -1















    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.










    share|improve this question







    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.






















      -1












      -1








      -1








      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.










      share|improve this question







      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






      share|improve this question







      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.











      share|improve this question







      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.









      share|improve this question




      share|improve this question






      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.




















          1 Answer
          1






          active

          oldest

          votes


















          1














          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.






          share|improve this answer























            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.









            draft saved

            draft discarded


















            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









            1














            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.






            share|improve this answer



























              1














              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.






              share|improve this answer

























                1












                1








                1







                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.






                share|improve this answer













                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.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Apr 14 at 1:56









                yagmoth555yagmoth555

                12.4k31842




                12.4k31842




















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









                    draft saved

                    draft discarded


















                    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.




                    draft saved


                    draft discarded














                    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





















































                    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

                    How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

                    What if the end-user didn't have the required library?What is setup.py?What is a clean, pythonic way to have multiple constructors in Python?What does Ruby have that Python doesn't, and vice versa?What is the reason for having '//' in Python?How do I create a namespace package in Python?How to package shared objects that python modules depend on?setuptools vs. distutils: why is distutils still a thing?Navigation in Windows 10 vs code not going to virtualenv library when the same library is installed at user levelPython create package for local usePackaging a project that uses multiple python versionsWhy is permission denied on pip install except for when “--user” is included at end of command?

                    Esgonzo ibérico Índice Descrición Distribución Hábitat Ameazas Notas Véxase tamén "Acerca dos nomes dos anfibios e réptiles galegos""Chalcides bedriagai"Chalcides bedriagai en Carrascal, L. M. Salvador, A. (Eds). Enciclopedia virtual de los vertebrados españoles. Museo Nacional de Ciencias Naturales, Madrid. España.Fotos