[IIS7] Problem

Results 1 to 14 of 14
  1. #1
    YOLO <3 DutchenL is offline
    MemberRank
    Jul 2013 Join Date
    543Posts

    [IIS7] Problem

    Hello,

    I have IIS 7 with IP adress and domain restrictions but if I want to block an IP, for example my own IP and 'deny' it, I can still access the website. How is this possible? I normally should get an error page


  2. #2
    Proficient Member ProducerMark is offline
    MemberRank
    Jul 2010 Join Date
    Middle EarthLocation
    176Posts

    Re: [IIS7] Problem

    Try restarting (refreshing cache) in the IIS Control Panel, an alternative could be firewall block

  3. #3
    YOLO <3 DutchenL is offline
    MemberRank
    Jul 2013 Join Date
    543Posts

    Re: [IIS7] Problem

    I restarted IIS, did not help. I really want to use this, not firewall

  4. #4
    Proficient Member ProducerMark is offline
    MemberRank
    Jul 2010 Join Date
    Middle EarthLocation
    176Posts

    Re: [IIS7] Problem

    Did you add it in the ipv4 address and restrictions menu? Also make sure it is a ipv4 address type, not a domain

  5. #5
    YOLO <3 DutchenL is offline
    MemberRank
    Jul 2013 Join Date
    543Posts

    Re: [IIS7] Problem

    no, how?

  6. #6
    Proficient Member ProducerMark is offline
    MemberRank
    Jul 2010 Join Date
    Middle EarthLocation
    176Posts

    Re: [IIS7] Problem

    IIS panel > features view > ipv4 address and domain restrictions > add deny entry > ipv4 address and enter the IP

  7. #7
    YOLO <3 DutchenL is offline
    MemberRank
    Jul 2013 Join Date
    543Posts

    Re: [IIS7] Problem

    I said that...

    'but if I want to block an IP, for example my own IP and 'deny' it, I can still access the website. How is this possible? I normally should get an error page'

  8. #8
    Valued Member GrateZ4 is offline
    MemberRank
    Jul 2014 Join Date
    145Posts

    Re: [IIS7] Problem

    If you use cloudflare just block through that :)

  9. #9
    Apprentice LazoQ is offline
    MemberRank
    May 2013 Join Date
    20Posts

    Re: [IIS7] Problem

    You add a entry, for example you could do the action "Add Deny Entry" Then just fill in your own IP and you should not be able to access the website.

  10. #10
    YOLO <3 DutchenL is offline
    MemberRank
    Jul 2013 Join Date
    543Posts

    Re: [IIS7] Problem

    that is the problem.. if I do that they can STILL access the website. I use 'deny' with my own IP to test it but I can STILL access the website

  11. #11
    Apprentice LazoQ is offline
    MemberRank
    May 2013 Join Date
    20Posts

    Re: [IIS7] Problem

    Make sure your web.config looks right, compare with others on google with your issue. If this doesn't work you should look if you have one, your htaccess and see how that one looks, maybe even disable it and just import the rules from it in to your IIS server.

  12. #12
    YOLO <3 DutchenL is offline
    MemberRank
    Jul 2013 Join Date
    543Posts

    Re: [IIS7] Problem

    web.config? how to fix?

  13. #13
    Proficient Member ProducerMark is offline
    MemberRank
    Jul 2010 Join Date
    Middle EarthLocation
    176Posts

    Re: [IIS7] Problem

    Quote Originally Posted by DutchenL View Post
    web.config? how to fix?
    Mostly: c:/inetpub/wwwroot/web.config

  14. #14
    Gamma Spamma Liam is offline
    MemberRank
    Dec 2011 Join Date
    Down UnderLocation
    2,946Posts

    Re: [IIS7] Problem

    Blocking it through the Firewall is your best option, because then it completely blocks the connections incoming from that IP address; as with if you just block it through IIS, they may still be able to have access to things such as MySQL, etc..



Advertisement