Link to home
Start Free TrialLog in
Avatar of Tlingit
TlingitFlag for United States of America

asked on

Trouble binding in IIS 7.5

How do I setup a website to bind with a certain public IP address in IIS?

In IIS I have a Default Website. Remote Desktop Web setup their website within this Default website. I need to bind a public IP address to RD Web Access using HTTPS.
ASKER CERTIFIED SOLUTION
Avatar of Paul MacDonald
Paul MacDonald
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Tlingit

ASKER

If there's a firewall performing NAT between the web server and the Internet, you'll need to set up the NAT rule in your firewall, specifying the public IP and its mapping to a private IP on the web server first.

There is a firewall and I have set rules to route or open ports to the server.

In IIS I have the public IP address setup to bind to HTTPS.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
As noted, you'd assign a private IP address in IIS, a public IP address to the external power on the firewall, then use the firewall to NAT from public to private and back again.
Avatar of Tlingit

ASKER

I've been trying to bind public ip address with IIS. Not going to work. How does the web server know what public IP address to use?
The web server doesn't.  Requests come in from the Internet via the public IP on the firewall.  The firewall forwards the request to the web server's private IP.  The web server receives the request and replies to the request.  The web server neither knows nor cares what the public IP address is.