Recently, on my development machine, something has changed such that when I attempt to access my website with www in the name, the connection is refused.
eg. www.example.com refuses connection and https://www.example.com refuses connection
Notes:
all other machines that I've tested can access my page via these urls
I have a feeling that this might be a firewall issue. I recently installed a vpn. It is not actively running on my machine when I have this issue, however.
Any thoughts as to what settings I should be looking at on windows?
Thanks!
Sorry. I had defined www.example.com in my hosts file.
C:\Windows\System32\drivers\etc\hosts
Related
My IIS website works fine on my computer and anything on the same ip address but when I try accessing myip:myport/api/ it times out. I already went into my windows firewall and set up an inbound rule:
!]1
Not sure what the issue is at this point, any help appreciated.
I'm having issues with a website accessing subdomains. We have several and it's starting to effect more than just one computer.
I have tried to flues / renew DNS and had no luck. This would also only work for one machine.
netsh winsock reset
ipconfig /flushdns
ipconfig /registerdns
I have also tried modifying the host file, but again this would only effect one computer and this is effecting anyone who tries to visit the site.
Any ideas or help would be much appreciated! We are on Windows07 using iis
It's because the host name is not recognized by the DNS server that your browser is querying looking for the IP address. You can get around this by editing your hosts file at c:\windows\system32\drivers\etc\hosts (there is no file extension on this file). Here's a link explaining how to edit this file: http://www.howtogeek.com/howto/27350/beginner-geek-how-to-edit-your-hosts-file/
For some reason I can't run website hosted with IIS on my local machine.
I've created a simple web application ("test"), with just index.htm, under the default Web Site.
I've confirmed IIS is working.
Following URLs do not work:
http://machine_name/test/
http://127.0.0.1/test/
http://localhost/test/
and this one works:
http://[::1]/test/
Your machine is forced into IPV6 mode. Go into your network adapter settings and try disabling IPV6 or changing the priority.
Also look into changing the HOSTS file. Adding the line 127.0.0.1 localhost should fix the issue.
I have IIS installed with asp.net 4.0. I've managed to get my site showing on a static ip address and port forwarding is set up on my router but for some reason the site is still only showing locally and not on only external networks. Is there any obvious causes for this. I'm pretty new to IIS and have looked for hours so far to try and find out why I can access my site externally.
Currently the page just times out on external networks.
Any help would be great, thanks in advance.
I worked out it was because I was pointing from my domain to the local IP and not Public IP, worked fine once I changed this.
This sounds like an issue with your network configuration rather than an IIS issue.
Here's a few things to try:
Can you access the website from another machine on the same network?
Is port 80 open on your router?
Verify that your ISP is not blocking inbound requests on port 80
I just got a Windows Server 2008 VPS and I'm having trouble getting IIS7 setup.
I created a new website in IIS with the path, ip address, and hostname (like 'www.nameofsite.com') and click OK. When I browse to the site it pulls up "http://www.nameofsite.com" in the browser and... nothing... IE cannot display this webpage.
If I blank out the hostname in the bindings and click [Browse] it works fine (it takes me to http://10.10.2.92 - the computer's ip). So entering the hostname breaks the website.
Any ideas on what I'm missing? Services I might not have running or roles I'm missing?
No server roles were initially installed on the VPS so I installed IIS, DHCP, DNS, and Application Server... overkill, but I wasn't sure what to install.
First it has to be in DNS or the client machines hosts file. To test this you can add the hostname to the servers hosts file.
Go to start -> run and type "drivers" change to the etc directory you want to edit the hosts file. The entries in it are like a local DNS. They only work on the local machine!
You must use EXTERNAL DNS not Internal DNS to make it visible across the internet. Change the DNS pointer at your registrar or whatever you are using for external DNS propagation.