Answer the question
In order to leave comments, you need to log in
Auto-create subdomains with the site during registration?
Hello. Interested in this question. How can I organize the following:
1. The user registers
2. When registering, the user specifies the name of the subdomain via ( input html )
3. After registering the user, a subdomain is created with the name specified in the input during registration
4. The archive with the site is unpacked into the subdomain folder by a script or command.
All this on VDS or Dedicated.
I would be grateful for any suggestions. I would like to have an idea how to implement this. What can I do myself, what will I have to order.
Answer the question
In order to leave comments, you need to log in
Subdomains themselves can be implemented at the web server level.
A few years ago I developed a website builder, if my memory serves me, the rules for apache took only a few lines.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question