Skip to main content

Preventing unauthorized domains from pointing to my website

Comments

4 comments

  • cPanelMichael
    Hello :) The Apache access control documentation should be helpful: [url=http://httpd.apache.org/docs/2.2/howto/access.html]Access Control - Apache HTTP Server The following document explains how to save custom changes to the Apache configuration file: [url=http://etwiki.cpanel.net/twiki/bin/view/EasyApache/EasyApacheCustomDirectivesOutsideVirtualHost]EasyApache: Changes Contained Outside a VirtualHost Directive Thank you.
    0
  • s2s
    Thanks Michael, I think that directive should be enough. I opted not to use the Hostname access control for performance.
    0
  • cPanelMichael
    [quote="s2s, post: 1572891">I think that directive should be enough. I opted not to use the Hostname access control for performance.
    Feel free to update this thread to let us know how it works out. Thanks.
    0
  • s2s
    So far it seems to be returning a 404 for the specific domain in question (and for visiting via IP). Not sure what else might be affected though (crawlers/bots, SEO, etc) - so will monitor for a while.
    0

Please sign in to leave a comment.