dyn dns & web server problem

From: Michael Powe (michael+gnus_at_trollope.org)
Date: 11/02/03

  • Next message: Eric Mosley: "Re: firewalls and p2p access"
    Date: 2 Nov 2003 17:09:00 GMT
    
    

    hello,

    i have a domain set up at dyndns.org for my PPPoE dsl connection.
    this works fine & allows me to ssh to the box easily when i'm
    travelling.

    today, i notice the following behavior. if i access a web server on
    that box with the external name, it works fine as long as i specify a
    page name.

    if i specify a directory without a name, however, the domain name
    changes to the local machine name (in the browser address bar). i
    don't like this one bit. although i can't think of a direct way
    anyone could use the internal name of a machine to do something nasty,
    i'm not a hacker. just as importantly, this action renders the
    internal links unusable. while i could certainly change all the hrefs
    to point back at the external name, that is not my preferred solution.

    so, it looks like this.

    http://www.my_dns_name.com/dir/filename.html # works
    http://www.my_dns_name.com/dir/ "redirects" ->
      http://my.internal_machine_name.com/dir

    if "dir" has an index/home file in it, that will be displayed.

    i have no idea what is causing it. is there something in my apache
    config that needs to be set (it's just the default 1.3.27 config, as
    far as i can recall, with the exception that i've configured cgi) or
    is this an artefact of the NAT configuration on the box (done with
    iptables)?

    yes, i know that i shouldn't be running a web server on my firewall.
    it's my only realistic option, right now.

    if anyone could suggest how i can stop this particular behavior from
    occurring, i would much appreciate it. i have some stuff i want to
    put up.

    thanks.

    mp

    -- 
    cat: /home/powem/.signature: No such file or directory
    

  • Next message: Eric Mosley: "Re: firewalls and p2p access"

    Relevant Pages

    • Re: Sharing the same profile among two login configs
      ... > different networking locations. ... >> also found attempts at such a config unsatisfactory, and, that ... >> Associate Expert - Windows XP ExpertZone ... >>> to the local machine using my full name for login. ...
      (microsoft.public.windowsxp.security_admin)
    • Re: uninstalling the sever setup?
      ... I was wanting to see if the "Config" was ok.. ... test user and that is what I got. ... >>erver itself there is no local machine so everything ...
      (microsoft.public.windows.server.sbs)
    • Re: Sharing the same profile among two login configs
      ... also found attempts at such a config unsatisfactory, and, that ... > to the local machine using my full name for login. ... > different separate profiles, and that's pretty dumb. ...
      (microsoft.public.windowsxp.security_admin)