Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use IIS 7.5

I hosted a web application (windows authenticated) within default Website

server details server name : kevserver domain name :

I logged in to the server with my creds as shown below

kserver[my username]

Note : my Login domain name is kserver and the servers domain name is

when i try to access the Application within the server i am able to access the application.

but if i host the applicaiont as seperate website with host name as

it throws error stating

"HTTP Error 401.1 - Unauthorized You do not have permission to view this directory or page using the credentials that you supplied. "

I have host file entry for the website

below are the steps i followed to create the website

  • Right click on Sites And select "add website".
  • gave FSApp as site name. Selceted app pool. gave the path.
  • in binding left Type and Port unaltered selected the servers ip address in the ip section
  • gave host name as "" checked start website immediately.
  • then Clicked on OK. Now when i right click on the website and try browse it It asks for credentials. if i give my credentials it is not accepting it After three attempts it shows the above said error.

I am unsure if the domain name conflict is the root cause. if so why it didn't occur When i host the application under default website.

share|improve this question
Did you copy all the authentication settings from the Default Site to your New Site? Might be helpful to peruse the web.config in the root of each site. – Chris S Jul 16 '13 at 14:33
yes i did copy all the settings from default site and then removed the default site after creating the new one. – Jayakumar Jul 17 '13 at 7:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.