Y
Y
yerdnaandrey2020-06-25 12:01:33
PHP
yerdnaandrey, 2020-06-25 12:01:33

How to make automatic creation of a subdomain?

I need both on GitHub, entered the name, the subdomain was created. How to implement? With using what? What registrars are needed?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
FanatPHP, 2020-06-25
@FanatPHP

With the help of Google: automatic creation of a php subdomain

V
Vladimir Korotenko, 2020-06-25
@firedragon

Yes, nothing is needed. Set up a zone for your domain, and in the code, check the incoming header host: site1.example.com, respectively, your code should think for itself what to display for the user site1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question