O
O
Octav Parango2015-06-18 12:26:43
Apache HTTP Server
Octav Parango, 2015-06-18 12:26:43

When contacted via www. takes you to another site. How to fix the problem?

Now I will try to clearly explain the essence of the issue.
There is VPS , which is based on Apaches and Webmin. All domains go through CloudFlare.
7 domains added to CloudFlare. The server has 7 virtual hosts for these domains.
When accessing the site in the site.com format, it works correctly. If you access the format
www.site.com, it opens another site, one of seven. If you go to all sites with www,
the same one always opens.
I add three A records to CloudFlare:
RmzQvkXCzYW5rO.jpg
Tell me how to solve this problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Octav Parango, 2015-06-18
@Octavchik

Summing up)
By default, webmin writes like this:
To work adequately, you need to edit:

ServerName www.domain.tld
ServerAlias domain.tld *.domain.tld

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question