Skip to main content

How to block domain which is pointed to my server ip... and are not mine

Comments

4 comments

  • vanessa
    This isn't something blockable by CSF/etc. Just let Apache do its job - change the default page to something else so any site that is not configured on your server but is pointed to it will show whatever you want. This is an excellent time to learn about Internet porn.
    0
  • amoloo7
    If ip is shared then i have no problem because it will show default page if ip is dedicated to one user then default page will not show it will start showing client site on that ip.... and if any one point his site to that dedicated ip it will start showing my client site on pointed domain... There must be some way to keep default page of cpanel even if the ip is dedicated to only one user...
    0
  • vanessa
    You just need to create a default vhost for each dedicated IP on your server, so any request for a site that isn't configured will return something else.
    0
  • cPanelMichael
    [quote="amoloo7, post: 1690942">There must be some way to keep default page of cpanel even if the ip is dedicated to only one user...
    Yes, by default a dedicated IP address will display the default contents of the account assigned that IP. You can customize the Apache configuration file by adding a default VirtualHost with the standard document root as the first VirtualHost for that IP if you want to see the default cPanel page for that IP. Thank you.
    0

Please sign in to leave a comment.