« Previous Next »

Thread: Newbie Q - Masking IP service address from end users

Last post 01-06-2009 4:35 AM by Paul Lynch. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 01-05-2009, 7:13 PM

    Newbie Q - Masking IP service address from end users

     Hi all,

     I am a newbie to IIS and the forum so pls be gentle.

     We have a situation where end users have been accessing one of our services (the Sakai CLE LMS/CMS) by directly entering the IP address. Unfortunately this has allowed users to create content that is inaccessible to off-site external users as the IP is concealed through NAT.

    We have fixed this content problem but now need to find a way to stop on-site users accessing the service via IP.

     I hope someone may have a suggestion as to how to configure or write a script to have IIS redirect users to the published URL for the services whenever they enter the IP address.

     Advice appreciated...

    Owen

  • 01-06-2009, 4:35 AM In reply to

    Re: Newbie Q - Masking IP service address from end users

    Hi,

    In order to do this you need to configure a host header for your application's web site so that the web site only listens using that name. This will prevent users from accessing the site using the IP address of the server. When you have configured it correctly, any attempts to access the web site using the machine's IP address will result in either a 400 Bad Request error or the users going to the Default Web Site, if that site is running.

    HOW TO: Use Host Header Names to Configure Multiple Web Sites in Internet Information Services 6.0

    Regards, 

    Paul Lynch | www.iisadmin.co.uk
Page 1 of 1 (2 items)
Microsoft Communities