Другой домен указывает на мой веб-сервер

Неизбежный ответ, бэкпортированный от будущего, когда это будет казаться здравым смыслом:

Используйте публичное облако, такое как AWS, Rackspace, и т.д.

2
задан 11 April 2014 в 17:01
1 ответ

You can easily prevent this at the webserver level by explicitly defining your ServerName directives. Non-matching hosts would simply be funneled to the default page (or whatever you choose).

It is possible to fool the Host: header, but this prevents the most common ways. More damaging is that the suspicious domain will duplicate content on your domain which hurts SEO ratings (search engines hate duplicate websites), so the Apache fix would do the trick.

5
ответ дан 3 December 2019 в 09:36

Теги

Похожие вопросы