Answer the question
In order to leave comments, you need to log in
How to set up subdomains on Apache and bind9 in ubuntu?
Hi all.
I say right away in ubuntu I'm a noob. At work with windows, we decided to make the transition to ubuntu.
Tell me how to make it so that when you enter dsfsjdfjsdfkskfjskdjf.local.ru into the address bar, there is a redirect to local.ru?
I've already broken my head how to do it. Registering in hosts is not an option, there can be a lot of subdomains.
Answer the question
In order to leave comments, you need to log in
Aliases if for apache at least
Nginx + apache and dynamic config for nignx
BUT you better think about web panel for example ispconfig3 and vestacp
Add an entry
* 900 in a (ip apach) to the bind zone file
Add ServerAlias *.local.ru
to the domain description in the Apach config
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question