Skip to main content

Hosts.access file missing in cPanel 96

Comments

9 comments

  • cPJustinD
    Hello Sajawal! The file should still be located at /etc/hosts.allow to the best of my knowledge. Were any additional changes made upon completing the installation?
    0
  • cPJustinD
    Quick update on this! It appears that the hosts.allow
    and hosts.deny
    files were deprecated in RHEL 7. It is now recommended to use iptables
    instead. I found the following thread with more information:
    0
  • Sajawal
    I wanted to set up the host file on my server that whoever can access it, but in the 96 version of cPanel, this feature didn't work properly because I need to remove the reject rule every time when I want to allow an IP on my server and after that apply reject rule again. Hopefully below screenshot will helps to understand the situation correctly.
    0
  • HostNoc
    HI Please confirm did you installed Cantos 8 minimal version?
    0
  • Sajawal
    HI Please confirm did you installed Cantos 8 minimal version?

    Yes, CentOS 8 minimal version.
    0
  • cPJustinD
    I understand your desire to use the hosts file, however, as I mentioned previously, hosts.allow
    and hosts.deny
    files were deprecated in RHEL 7. It is now recommended to use iptables
    instead.
    0
  • Sajawal
    I understand your desire to use the hosts file, however, as I mentioned previously, hosts.allow
    and hosts.deny
    files were deprecated in RHEL 7. It is now recommended to use iptables
    instead.
    0
  • cPJustinD
    I can certainly see how that may be beneficial. As that functionality is not currently included, I highly recommend submitting a feature request for this functionality. You can submit a feature request using the "Submit a Feature Request" link in my signature. Our feature request site is actively reviewed and curated by our development team to identify potential future build plans and accept ideas and suggestions from our community. Adding a feature request here will allow the rest of cPanel's users to vote for it if it's something they would like to see implemented as well. While we cannot guarantee that all requests will be accepted, this is the best way to make suggestions visible to the teams that build cPanel.
    0
  • Sajawal
    I can certainly see how that may be beneficial. As that functionality is not currently included, I highly recommend submitting a feature request for this functionality. You can submit a feature request using the "Submit a Feature Request" link in my signature. Our feature request site is actively reviewed and curated by our development team to identify potential future build plans and accept ideas and suggestions from our community. Adding a feature request here will allow the rest of cPanel's users to vote for it if it's something they would like to see implemented as well. While we cannot guarantee that all requests will be accepted, this is the best way to make suggestions visible to the teams that build cPanel.

    Sure, thanks.
    0

Please sign in to leave a comment.