I have this issue with a newly created site in IIS 10 on Server 2016

I have several sites in IIS. eg



I wanted to create a new site, so I added the DNS A record to the zone file for myhome.local and reloaded. Went to explorer and created a new directory under inetpub/wwwroot called testwp. Went to IIS and created a new site testwp, pointed it to the directory

Put a simple index.htm in the directory. Setup the bindings to be just port 80 and point to testwp.myhome.local

Now if I go to testwp.myhome.local on the server browser I actually end up at testone.myhome.local

I can not see anything in the log files as to why this site is redirecting. I don't have any URL rewite.

I have done something wrong but just do not know where. any help?



If you have multiple sites on port 80, you need to add host headers to each site to enable IIS to forward the request to the correct site, otherwise it will go to the first site listening on the port.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.