Answer the question
In order to leave comments, you need to log in
How to organize dynamic creation of sub-domains?
Actually.
There is a website site.com.
Clients register here.
Each client needs to be given a sub-domain.
Something like username.site.com
Note the question is:
how do I configure Apache so that username.site.com is processed by the site.com/index.php script?
Answer the question
In order to leave comments, you need to log in
Answer found!
ServerName site.com
ServerAlias *.site.com
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question