Domains

Discussion in 'Web Design and Development' started by justinm, Dec 20, 2007.

  1. justinm macrumors member

    Joined:
    Aug 15, 2007
    Location:
    Orlando FL
    #1
    I have a domain name that redirects to my dyndns account. When I go to my domain, it redirects to my dyndns account hostname. I have seen certain redirects such as mail.domain.com which i know is a redirect but in the address bar it stays the same (mail.domain.com) How is this possible?

    :confused:
     
  2. rhyndu macrumors regular

    Joined:
    Dec 17, 2007
    Location:
    A Planet Orbiting Sol!
    #2
    Well there are several ways: :)
    NOTE: This information is given under the assumption that all requests are http - other things (like non-webmail) are handled VERY differently!


    1. If the address in the URL bar stays the same even when you click to other pages, you are using frames. This is theworst approach as it does not allow screen readers and people with text-only/REALLY old browsers to view your page.
    How it works: In essence, your NS sends all content from yourdomain.com silently to a page on their website that contains a <frameset> tag pointing to your domain.


    2. If your host is using these things called A Records, your URL will change when you click on links in your site. What it does is whisper to the browser "I know you have typed in yourdomain.com but you should really get content from freewebs.com/yoursitewithlonguglyurl"!
     

Share This Page