K
K
Kirill2016-01-13 12:39:27
PHP
Kirill, 2016-01-13 12:39:27

Create subdomains?

Hello! How can I implement the creation of subdomains, I have a task: a registration form, the client fills in the fields, incl. subdomain address, for example pod.site.ru and by clicking on register, a subdomain is created and the files that are needed immediately fall into this folder on the hosting, how to do this? Thank you very much in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2016-01-13
@gangstarcj

Write a script that will edit the configuration files and create a folder. After restarting the server to accept the changes

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question