Answer the question
In order to leave comments, you need to log in
How to make a custom domain for a page?
Good afternoon. I am developing a service and faced the task of linking custom domains, for example, the mssg.me site, which allows you to link a domain to a page.
Using the example https://example.com/company-slug => https://company-name.com
It will be enough to point in which direction to dig, because a detailed tutorial could not be found.
Answer the question
In order to leave comments, you need to log in
Shared won't work. At least a simple VPS.
There is such a concept Apache default VirtualHost
Requests are poured in there if other hosts did not have a match with the host name or alias.
well, you rake the host name already in PHP itself. The fan showed the basis.
Found in the database - super. No - draw a stub.
For a good client, you don’t need to strain with prescribing but records manually.
It is better to raise your own NS servers so that you only need to make a delegation in the domain registrar's office.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question