E
E
egorkozelskij2020-08-09 14:41:57
Domain Name System
egorkozelskij, 2020-08-09 14:41:57

How to write a DNS server?

Hello!

The question is how services work inside - website builders like tilda, wix, etc.

They allocate a subdomain with your content - my_namespace.host.com
Everything is clear to me - the usual routing, which can be quickly added to the same Laravel.

And then they offer to connect their domain. That is, on the registrar's side, I propagate their servers
ns1.host.com
ns2.host.com

and then my site works both on my domain and on their subdomain.

Tell me, how is the logic of joining a domain implemented if the logic of serving content from subdomains lies on one larger back (Laravel)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sanes, 2020-08-09
@egorkozelskij

The registrar additionally specifies IP addresses for NS servers. If they are in the same domain.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question