WSS on Both Side of Router

OK, so the problem is that during the install, I told SharePoint my url was my host name, "MyServer" which is no problem when I'm on the server because the server knows its own name.

On a seperate LAN computer, it's not really a problem either if I go to http://MyServer:55555 because my Windows network knows where MyServer is.  I'm guessing that's "WINS resolution."

But is I approach from the public side of the router, I'm going to http://MyDomain.Com:55555 and my router knows to send incoming hits on port 55555 to 192.168.1.100, and what happens is this.  It hits IIS and IIS says "oh, this web site has been extended to SharePoint.  I'll send it to MyServer/Default.aspx" and, of course, from the other side of the router, MyServer has no meaning, thus, Page Not Found.

So, when I try, http://MyDomain.com:55555/default.aspx, IIS is not as stupid; it knows to look up default.aspx no problem.  The problem is that the links on dafault.aspx are all coded with http://MyServer:55555/somelink.aspx which, of course, breaks because the internet is not smart enough to figure out where http://MyServer:55555 is.

So I add a host record in my HOSTS file that says 24.24.24.24  MyServer (asumming my IP address is 24.24.24.24.) and all is well.  From an external comuter, I can go to http://MyDomain.com:55555 and get http://MyServer:55555/default.aspx and all the links to http://MyServer:55555 on the pages work just fine.

So the only objectives remaining are how do I get two servers inside a router to share an IP address (24.24.24.24) and a port (55555)?

-robot 


Tags:

 
 
 

Comments are closed.