Skip to main content

Prevent Access to Site From Shared IP

Comments

3 comments

  • cPanelLauren
    Hi @jasong24 First I'd like to point out that cPanel only supports one main shared IP address for the entire server. Secon,d you SHOULD be only seeing the default page when accessing the IP address directly for anything over a shared IP unless you're accessing over https in which case you'll get the first VirtualHost in the apache configuration for that IP address.
    0
  • jasong24
    Hi @jasong24 First I'd like to point out that cPanel only supports one main shared IP address for the entire server. Secon,d you SHOULD be only seeing the default page when accessing the IP address directly for anything over a shared IP unless you're accessing over https in which case you'll get the first VirtualHost in the apache configuration for that IP address.

    Thanks for the response! That is correct. I only have one main shared IP. Each reseller then has a unique shared IP assigned to it. If I attempt to browse to the main shared IP, I see the default page. If I browse to a reseller shared IP, I see one of sites owned by that reseller. This behavior occurs with both http and https. Is this expected (even non-secure)? Is there any way to alter my configuration so that all non-dedicated IP addresses display the default page?
    0
  • cPanelLauren
    Thanks for the response! That is correct. I only have one main shared IP. Each reseller then has a unique shared IP assigned to it. If I attempt to browse to the main shared IP, I see the default page. If I browse to a reseller shared IP, I see one of sites owned by that reseller. This behavior occurs with both http and https. Is this expected (even non-secure)? Is there any way to alter my configuration so that all non-dedicated IP addresses display the default page?

    It's a bit different for the shared IP assigned to resellers - that's essentially a reserved IP address. You might want to look through the thread here:
    0

Please sign in to leave a comment.