R
R
rasul2662021-02-13 00:26:52
1C-Bitrix
rasul266, 2021-02-13 00:26:52

Who knows how to send all subdomains to one directory in VMBitrix?

Who knows how to send all subdomains to one directory in VMBitrix?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Gritsuk, 2021-02-13
@winer

In the nginx and httpd configs for the site, register
httpd subdomains - /etc/httpd/bx/conf
nginx - /etc/nginx/bx/site_avaliable
for httpd it will be ServerAlias ​​*.domain.com
for nginx it will be server_name domain.com *. domain.com;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question