• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 195
  • Last Modified:

How to get through to another server on a network when the main server is tied to a static IP and a www domain name?

Question title just about says it all. The secondary server has a local network IP and it's server capabilities can be had by just using it's computer name or it's local network IP, but what methodology of addressing can be used to get that secondary servers service from a remote computer http://www.xyz.com/xxx.xxx.xxx.xxx/index.html doesn't work. Have tried an indirect method where primary server does the htp://xxx.xxx.xxx.xxx or htp://secondarycomputername and that doesn't do it for me either. Changed the config file to     Listen xxx.xxx.xxx.xxx:80 (xxx.etc.. being local network address) would a different :port do it???
2 Solutions
You need to use a different port, and forward that port on your NAT router to send the traffic to that internal host.

that way you would access the site by doing: http://www.xyz.com:8080/index.html

OR, you could have it on the same port (80) if you get another public Ip address.
If you are using Apache, you could setup apache to be a reverse proxy sever for the second web sever.

You would setup apache so that http://www.xyz.com is severed up locally and http://www.xyz.com/other is reversed proxy to the secondary web sever.  You might be able to setup a virtual host on apache so that http://yyy.xyz.com is reversed proxy to the secondary sever.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now