cant connect to my iis7 hosted site on my mobile in the same network - iis-7.5

I am using windows 7 Ultimate and iis7.5. I just created a site called steel.com and added it in to the host file like 127.0.0.1 steel.com.
It works fine on my local computer.
When I try to connect from another device (from my phone), nothing shows.
I connected those devices using hotspot from my laptop with baidu wifi hotspot.
I checked windows firewall.
I have added http rule and https rule
My site uses https protocol (steel.com).
Any idea what might be the issue?

Related

why is my domain at my apache web server (windows 11) connection time out?

I've installed an apache web server to one of my windows 11 machines. I forwarded the ports 80 and 443 to this machine. I can access it by my world wide ip and machines local ip through browser but when i try with domain name it sometimes works but generally it waits a while and then connection times out.
I also added A records at my domain provider like below: (TTL = 1 hour)
Also gave permission from windows firewall for both private and local networks.
What am i missing here?
Ok i figured it out, although i wrote plain domain name in the browser chrome was changing it to https version of the site and that was causing the error.

Hosting a web site in IIS accessible from any web client?

Trying to host a web site on my local Win 10 Pro machine withing IIS, provided I share the IP to my friends. My host file contains something like:
127.0.0.1 site1.com
127.0.0.2 site2.com
127.0.0.3 site3.com
127.0.0.1:1 site4.com
127.0.0.1:2 site4.com
123.45.5.6 site5.com
123.45.5.6:33 site5.com
They all work as expected except for the imaginary external ip (only for example), and adding the port or not makes not difference. Seems i've tried what makes sense, say my external is '1.2" Creating a host entry like
1.2 # or
1.2:Port # the external IP with port
Also attempted adding an exclusion for he firewall to help ensure the traffic is allowed by doing:
netsh advfirewall firewall add rule name="Open Port" dir=in action=allow protocol=TCP localport=81
Kind of lost what might be missing, any suggestions?
Thanks for he help.
First. There is no need to add port after IP address in hosts file. Port can be configured on IIS by setting binding.
Second. If you want to allow any web client can access the site host on local WIN10 pro, you need to make sure WIN10 pro and web client are in the same LAN. Otherwise it is need to buy a public domain and bind to WIN10 pro device.
Using Ping command is a great way to test traffic between devices. It can help you make sure if web client can create connection with WIN10 pro.

IIS server unavailable on a local wifi

I want to create an IIS server on my PC. I've created a wifi hotspot through netsh wlan set hostednetwork ... , and a new wifi hotspot appeared (wifi2, in which my pc was 192.168.137.1).
So I shared the connection of wifi1 (the real NIC, with ip 192.168.0.104) and I enabled sharing of HTTP service (because of the IIS server). Obviously IIS is running. wifi2 is set as a domestic net.
So, I've connected my smartphone to wifi2, and typed 192.168.137.1, the IP of my pc in wifi2, in wich it should be running the IIS server. But it respond with a timeout error. So I've typed 192.168.0.104 , the IP of wifi1, and I though my smartphone cannot reach it, because my phone is connected to wifi2, but it show the IIS home page. This is strange, but the problem is here: if I disconnect my PC from wifi1 (so there isn't an internet connection, but only a local wifi lan), from my smartphone I can't visualize anything, both 192.168.137.1 and 192.168.0.104 !
why I need an internet connection to show the IIS page?
How can I fix this problem?

Covert home pc to web server steps

I want to convert my home pc to a web server. Already IIS8 has been installed. The sample page has been published on default web site. In windows firewall the port 80 has been opened. I have access to this page through different computers that connect to the same ADSL router. However, when I try to connect to the page from another ISP, I get the error of 'web page not find'. Because I don't have static IP now, I find IP of the server from http://www.whatismyip.com/. I wonder if anybody help my to solve this issue.
One workaround it to use no-ip
http://www.noip.com/
this would give you static IP.
From this point is just normal domain setup.

I can't access my Hyper-V Linux Web Server over the Internet

I'm trying to access a VM Linux Web Server from Internet but as response I get the server's internal IP.
Infra:
Physical PC: Windows 8 running on IP x.x.x.10 (internal) and y.y.y.y (external/internet)
Virtual Server: Debian 7.3 + Apache2, running on a Hyper-V machine, IP x.x.x.11
Router: D-Link DMG-6661 with 'Applications' and 'Virtual Server' set on both :80 and :7080, pointing to x.x.x.11
Inside my network everything works fine, I'm able to access my web page using both x.x.x.11:80 and x.x.x.11:7080.
Outside my network, lets say at work, if I try to access y.y.y.y:80 or :7080 I get ERR_NETWORK_ACCESS_DENIED and the address on my browser changes to x.x.x.11!
What am I missing here?
Thanks.
So difficult to answer you without precisions... Please check all network segments and software/hardware components ( linking your web browser at work to your Apache server). Lot's of thing may drop your connection. Think about these questions:
Does your router allow incoming connections from the Internet ? Is it configured to NAT/PAT incoming traffic to your Web server at x.x.x.11:80 ?
Does your Linux VM allow connections from other network than your LAN (netfilter/iptables configuration ?).
Does your Apache is configured to accept incoming traffic from any IP addresses ?
Regards

Resources