Using DNS to redirect to another URL with a path

contacto contact picture contacto contact · Feb 25, 2012 · Viewed 381k times · Source

I'm trying to redirect a domain to another via DNS.

I know that using IN CNAME it's posible.

www.proof.com IN CNAME www.proof-two.com.

What i need is a redirection with a path. When someone types www.proof.com, it should take them to to www.proof-two.com/path/index.htm

I know it can be done using Web Server facilities, but I need DNS redirection.

Is this possible?

Answer

eudoxos picture eudoxos · Feb 25, 2012

No, what you ask is not possible. DNS is name resolution system and knows nothing about HTTP.