Windows 10 IIS 10 Error 404 Resource Not Found - iis

I have two websites on a Windows 10 Pro box using IIs 10. Both websites have their bindings set for HTTP, a hostname, any IP address and both using Port 80. IT has added a DNS entry that resolves the website hostname set in bindings. From inside IIS I can browse either web site. On the machine that is hosting the web sites I can open them just using the web site host name. However, on another machine on the network you put in the FQDN of the web site and you immediately get a Error 404 Resource Not Found. When you do a nslookup on the FGDN is resolves correctly.
I am stumped. Anyone who might have an answer?
Thanks,
Doug

The solution was to create a new site in IIS! This time I made sure that the hostname was all lower case and matched the host name in DNS. I am suspecting that everything is case sensitive.
Doug

Related

iis site binding issue. got This site can’t be reached error. how to solve it

I am new to iis. I have create a website in my iis for my website content. Want to ask how can i bind the domain name with the site in iis for internal use.
this is what i have tried so far.
When you want to bind the domain name locally you have to bind it in the host file which is located at C:\Windows\System32\drivers\etc\hosts.
add your machine IP and domain name as suggested in the below format:
192.168.6.52 domian.com
by using this method you can only access it on your machine. the host file is only for the machine in which you are accessing the site.
now set the iis site binding as shown below:
clear browser cache and history and browse your site.

Team City 9.1.3 and IIS 8.5 Win2k12 r2 URL Rewrite

I've successfully installed Team City 9.1.3 on a Win2k12 R2 server. I can get to TC by going to http://localhost:8080 - all works as it should and no issues.
However, I would like to access TC from any browser within my company. I don't want to remote desktop just to get to TC, so I followed the instructions Here, but I cannot get to TC through my domain. My domain is http://teamcity and is bound to a 10.* ip address since I don't want it public. I do get a reply when I ping "teamcity." Should it be a public ip?
The server is a fresh VM I created yesterday and there are no other sites on it. The server is on the domain and I can remote desktop into it.
Is there anything I need to do to associate http://teamcity or the ip address with the server?
As a test, I associated the default web site in iis with the new domain and ip address. If I navigate to either the ip address or the domain in a browser on the server, it does not take me to the default web site. Nor does that work if I do the same from my desktop.
Any help would be greatly appreciated.
Update:
Sys Admin fixed the issue. The ip was not bound to the server. As soon as he fixed that issue, everything is working as it should now.

Accessing web pages on Azure VM

I would like to have my webserver on AzureVM. I will use multiple sites via host header.
Bindings: All unassigned and host header = www.site.com
My VM is configured and sites running locally (I can show website on erver in IIS.. Browse...) with no problem. Endpoints are configured too. Default web page of IIS is accessible on address .cloudapp.net
Problem:
I cant access my second website from internet:
service.cloudapp.net/www.site.com (this is maybe wrong)
service.cloudapp.net.www.site.com
service.cloudapp.net.www.site.com.
Nothing working :-(
Haw can i access it?
Thank you in
You can have multiple websites hosted on the same IIS Server.
To access the websites individually over the Internet, you need to suffix the DNS Name with the Public Port.
For Example :
DNS Name : myvm.cloudapp.net
Website 1 : myvm.cloudapp.net:52477
Website 2 : myvm.cloudapp.net: 51998
However if you are using Host Headers in IIS, you might want to refer to the below link which gives more insight
https://msdn.microsoft.com/en-us/library/azure/gg433110.aspx
Hope this helps !
Regards,
Sowmya

how to set an ip address as the host header in IIS 7.5 bindings

I am having an issue getting an IIS 7.5 website to answer when I connect to it using an IP address.
I have a Win2008 Server set up with IIS 7.5. It has only one IP address bound to it (10.10.10.10), and IIS listens on it just fine. I have IIS hosting two websites: defaultsite and mysite. Both of these two are necessary to be present. (To be fair, I have many more sites, but 2 will simplify things.)
Defaultsite is your typical IIS default site and has an IIS binding of "*:80:"
I want to access "mysite" via the DNS name but also the public IP address 1.1.1.1. So I've added the appropriate bindings:
":80:1.1.1.1"
":80:mysite.com"
My DNS and load balancer are moving traffic just fine to the IIS server. Everything works fine when hitting the server via "mysite.com" and I get the defaultsite if I try other ways to get to the server.
The problem is when I use 1.1.1.1 to get to the server, I get there, but I'm still sent over to the "defaultsite" rather than "mysite." My IIS logs and the file contents I retrieve verify this behavior.
Any ideas on how to get an IP address set as the host header on a site binding? (Searching for this situation is vexing; since all my key terms are present any time you work with host headers/bindings.)
Remove the binding for *.80 from the default site and make it respond to 10.10.10.10 and then your other site will get picked up when you type the 1.1.1.1 site. IIS is responding to the request but the rule states 'If any site comes through on port 80, respond to the default site'. The DNS name works because you are going by name and the lookup is not there on the default site.

Can't connect to Default Web Site in IIS 6.0

I can't connect to the default web site in IIS 6.0 using localhost or 127.0.0.1 or by server name. When I telnet to port 80 with one of these names, there's no connection.
However other web sites are running and I can telnet using any of the ip addresses.
I can ping to localhost where 127.0.0.1 is responding.
The default web site is running. It's not stopped.
check the windows firewall, that has a habit of blocking IIS on a local machine
Is the default site bound to a specific IP address? By default it would display "all unassigned" for the IP, but if you've linked all sites to a specific IP address, then the local IP would no longer be configured on the server and would not answer.
httpcfg.exe did it.
Stop all the sites under IIS, restart IIS and start the one you're interested in.
If this fails delete all the sites under IIS and create from scratch. If this fails, the problem is not with IIS and you'll need to look at what other services are running and start turning them off.
A firewall may prevent some content of your website/website itself from being accessible, so if you have problems with accessing content then check that your firewall is not rejecting content from your site.
The easiest way to ensure that your firewall is not blocking your access to your site services is to use your firewall control panel to allow data from *.(your site url).

Resources