[X-Unix] URL remapped to .local address
Stephen Jonke
sjj_public at mac.com
Wed May 5 14:31:20 PDT 2004
On May 5, 2004, at 4:09 PM, Kevin Stevens wrote:
> No, the base station should be port translating that for you, so what
> the computer sees is a request on the standard port. I don't have an
> Airport station (use third party), so I have a question. In your
> initial message you say "port mapping of port 1234 to port 80 on
> mylocalmachine". Isn't this port translation actually done by IP
> address, not name? If not, it should be. I've never seen a device
> that does name-based translation, probably for good reason. ;)
I'm not sure I understand, but the airport base station is set up to
take anything going to port 1234 and sends it to my iMac on port 80. My
ISP (Verizon DSL) blocks port 80, thus the need for a port other than
80 to the outside world. The iMac sees it as normal http traffic.
Someone wanting to get to my web server needs to use an address with
port specificed as 1234 (http://mydomain.com:1234). I'm using
no-ip.com's service to, among other things, do a web redirect of
www.mydomain.com to mydomain.com:1234 so you don't have to remember the
port. No doubt there are better ways to do this, though.
I set ServerName to mydomain.com:1234 and that seems to work. I haven't
yet tried setting it to mydomain.com (without the port) but I don't
think that would work because the request has to be to port 1234.
Steve
More information about the X-Unix
mailing list