Redirect and wild card redirect

Discussion in 'Site & Server Administration' started by dnoah, Mar 15, 2010.

  1. #1
    What is the difference?
     
    dnoah, Mar 15, 2010 IP
  2. zacharooni

    zacharooni Well-Known Member

    Messages:
    346
    Likes Received:
    20
    Best Answers:
    4
    Trophy Points:
    120
    #2
    Depending on the context of the redirect, it could mean many different things.

    If you're speaking of DNS, then a Wildcard is basically an A record (*) pointing to an IP address. A redirect would then be known as a CNAME, or alias. This would allow for any subdomain to be resolved to the IP specified in the zonefile for the * A record.

    If you're speaking of Apache. Then a redirect is just a simple redirect from a file to another file or url. A wildcard would match any characters of the RewriteCond you choose.
     
    zacharooni, Mar 17, 2010 IP