Jump to content
Forum²

Recommended Posts

Posted

Hello i have a problem.

 

I have installed Windows Server 2008 with two interfaces [192.168.0.1] and [200.100.50.1]

I have installed IIS Default Web Server with binding to 192.168.0.1

I have installed Routing and Remote Access with NAT rule which forward 200.100.50.1:80 to 192.168.0.1:80

 

I have Win7 PC with IP 200.100.50.2

In Internet Explorer

http://200.100.50.1 works without image (i can download a source code (iistart.htm) but i cant see an image (red cross icon))

 

Internet Explorer at the Server

http://192.168.0.1 works fine

http://200.100.50.1 works fine

http://200.100.50.1/helpdesk/index.html works fine (i added new folder with index.html)

 

at client

http://200.100.50.1/helpdesk/ works

http://200.100.50.1/helpdesk/index.html doesnt work

 

wfetch on client to http://200.100.50.1/welcome.png throws RESPONSE: ... 0x2746 Socket Error on Receive

log file on IIS Server:

2012-04-19 18:28:51 192.168.0.1 GET /welcome.png - 80 - 200.100.50.2 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0) 200 0 121 21356

 

Where is the problem or how can i solve it ?

PS: you can ask why i dont bind web to 200.100.50.1, its because im testing NAT

  • 4 weeks later...
Posted

i think this might be a binding issue...?

 

For testing with IIS and sites etc, i usually add a domain in the hosts file for testing.

 

So to the site, add a binding mysite.com for example. In the hosts file for the win7 PC on the 50.1 subnet, add mysite.com to 200.100.50.1 and do the same for a client on the 0.1 subnet. This is ofcourse for testing only. Im guessing you will be running DNS at some point!

 

This will still test your NAT routing but using a domain.

 

Hope this helps!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...