Jon Paris wrote:
What is the difference in effect between using URL forwarding and a
CNAME DNS entry?

CNAME dns entry points to a specific host ... no web server gets involved.

URL forwarding happens on the web server side.

Is it simply that URL forwarding doesn't have to propagate but CNAME
does?

While it's true URL forwarding doesn't have to propagate ... and DNS changes do, a url forward doesn't necessarily have to forward to the save relative URL.

So you could visit http://www.example.com/jonsblog and get redirected to http://jonsblog.example.com.

CNAME's can't do that ... the IP that gets resolved must serve the URL being requested.

For instance ... I have my DNS "A" records setup (like gondor.midrange.com) and a CNAME for imho.midrange.com that points to gondor.midrange.com. The web server on gondor must know about imho.midrange.com in order for it to be served up correctly.

david


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.