A
A
Andrew M2016-04-06 23:10:05
PHP
Andrew M, 2016-04-06 23:10:05

How to make the domain binding functionality?

By analogy with website builder services or blog services in which a client can link a domain to his page.

Simply put, I have a service where each user who has created an account has his own page, and can link the domain name purchased from the registrar by entering my dns (ns1.myservice.ru, ns2.myservice.ru) to this page

. Thus, having the address myservice.ru/ andrey he can bind andreyblog.ru by entering my server ns at the registrar and open the page myservice.ru/andrey at andreyblog.ru

How to implement this? Is it possible to make a simple variation on virtual hosting? Or is VDS essential?
As I understand it, you need to raise your dns server ..

If it's not difficult, point to the essence of the solution.
Thank you very much!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sanes, 2016-04-06
@niceque

Not on shared hosting. You can, of course, but for this the hoster must provide an API. On the server no problem. Now I am doing the exact same thing .

O
Oleg Shevelev, 2016-04-07
@mantyr

On the dns server side:
In all three cases, the slave server will need to be configured in the same way as the master. That is, it is unlikely that you will have a bunch where you will generate the master, and the slave will be more stupid and take the zones from the master without knowing their list.
On the web server side:
If we are talking about a vps/vds/collocation/dedication server, then you can:
I'm sure you can come up with two or three more cases on this topic.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question