IIS IP Restriction Problem!

User avatar
alkapin
Ник удалён за неоплаченную рекламу
Posts: 391
Joined: 15 May 2002 09:16
Location: было оттуда, теперь отсюда

IIS IP Restriction Problem!

Post by alkapin »

There are multiple identities setup up for the site using host header.

So you can access site using both www.domain.com and domain.com

Now I have setup IP restriction (deny access from particular IP).

When accessing site from restricted IP using www.domain.com IP restriction works, says access denied. But when using domain.com I can access site no problems!

Whats the problem?

Thanks.
Seryi
Ник закрыт как дубликат.
Posts: 6238
Joined: 14 Mar 2001 10:01
Location: .MD -> .SI -> .SE -> .AR.US -> .MD

Re: IIS IP Restriction Problem!

Post by Seryi »

alkapin wrote:There are multiple identities setup up for the site using host header.

So you can access site using both www.domain.com and domain.com

Now I have setup IP restriction (deny access from particular IP).

When accessing site from restricted IP using www.domain.com IP restriction works, says access denied. But when using domain.com I can access site no problems!

Whats the problem?

Thanks.


Do you have any other web sites running on the same server?
Could that happen that when you type domain.com you go to other site than www.domain.com, e.g. Default Web Site ?
What does IIS log tell about your attempts? Are both attempts (successful and unsuccessful) logged?
User avatar
alkapin
Ник удалён за неоплаченную рекламу
Posts: 391
Joined: 15 May 2002 09:16
Location: было оттуда, теперь отсюда

Re: IIS IP Restriction Problem!

Post by alkapin »

Seryi wrote:
alkapin wrote:There are multiple identities setup up for the site using host header.

So you can access site using both www.domain.com and domain.com

Now I have setup IP restriction (deny access from particular IP).

When accessing site from restricted IP using www.domain.com IP restriction works, says access denied. But when using domain.com I can access site no problems!

Whats the problem?

Thanks.


Do you have any other web sites running on the same server?
Yes, a few.
Could that happen that when you type domain.com you go to other site than www.domain.com, e.g. Default Web Site ?
No, I see the same web page.
What does IIS log tell about your attempts? Are both attempts (successful and unsuccessful) logged?
Ok, checked this and seems that some hits coming from a proxy IP...I guess that can be the reason. Thanks. :)

Return to “Вопросы и новости IT”