D
D
Denis2016-09-23 17:43:46
Apache HTTP Server
Denis, 2016-09-23 17:43:46

How to prevent subdomains from linking to the main domain?

Good day. After creating a virtual host through webmin, it turned out that all subdomains that do not have their own config give out the contents of the main domain. How can this be fixed?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Daemon23RUS, 2016-09-23
@Daemon23RUS

If the site address is not found, the content of the first (or last) site in the configuration is displayed
. Solution - install / add a stub (empty website) there, putting it first (or last, I don’t remember)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question