I
I
Ivan2018-06-28 21:56:51
linux
Ivan, 2018-06-28 21:56:51

How to redirect any subdomain to the www folder of the domain?

When making requests to subdomains:
111.site.ru
222.site.ru
volga.site.ru, etc., it is necessary to redirect the request to the /subdomain/ - www folder of the domain so that the scripts located there perform the intended functions.
How to implement a redirect of subdomains to the www folder of a domain so that the subdomain address remains a subdomain?
Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sanes, 2018-06-28
@Sanes

*.site.ru

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question