{"id":"https://www.namesilo.com/questions/dns-and-email/can-i-use-dns-to-redirect-only-one-website-path","url":"https://www.namesilo.com/questions/dns-and-email/can-i-use-dns-to-redirect-only-one-website-path","title":"Can I use DNS to redirect only one website path?","description":"No. DNS resource records identify names and their data; an HTTP request’s target URI includes the path. Redirecting only /old-page therefore needs an…","language":"en","category":"dns-and-email","datePublished":"2026-11-18","dateModified":"2026-11-19","answer":"No. DNS resource records identify names and their data; an HTTP request’s target URI includes the path. Redirecting only /old-page therefore needs an HTTP service that matches that path and returns the chosen redirect status and Location. An A or CNAME edit cannot select just that page.","body":"Can I use DNS to redirect only one website path?\n\nNo. DNS resource records identify names and their data; an HTTP request’s target URI includes the path. Redirecting only /old-page therefore needs an HTTP service that matches that path and returns the chosen redirect status and Location. An A or CNAME edit cannot select just that page.\n\nTest matching and unaffected paths\n\nNameSilo documents domain forwarding with 301 and 302 options, but its cited guide does not establish arbitrary per-path rules. Use a hosting, application or CDN workflow that explicitly supports the required match. Test the source hostname, intended path, query string and unaffected pages.\n\nYour next steps\n\nChoose a documented path-aware redirect workflow\n\nSet the intended status and destination\n\nTest the exact source path and query string\n\nConfirm other paths retain their intended behavior\n\nTest matching and unaffected paths\n\nNameSilo documents domain forwarding with 301 and 302 options, but its cited guide does not establish arbitrary per-path rules. Use a hosting, application or CDN workflow that explicitly supports the required match. Test the source hostname, intended path, query string and unaffected pages.\n\nVerified detail: DNS record data versus HTTP target URI and redirect.\n\nYour next step: Confirm other paths retain their intended behavior.","steps":["Choose a documented path-aware redirect workflow","Set the intended status and destination","Test the exact source path and query string","Confirm other paths retain their intended behavior"],"faqs":[],"sources":[{"name":"IETF RFC 1035 §3.3.1","url":"https://www.rfc-editor.org/rfc/rfc1035.txt#section-3.3.1"},{"name":"IETF RFC 1035 §3.4.1","url":"https://www.rfc-editor.org/rfc/rfc1035.txt#section-3.4.1"},{"name":"IETF RFC 9110 §7.1","url":"https://www.rfc-editor.org/rfc/rfc9110.txt#section-7.1"},{"name":"IETF RFC 9110 §15.4","url":"https://www.rfc-editor.org/rfc/rfc9110.txt#section-15.4"},{"name":"NameSilo: domain forwarding","url":"https://www.namesilo.com/support/v2/articles/domain-manager/domain-forwarding"}],"json":"https://www.namesilo.com/questions/data/can-i-use-dns-to-redirect-only-one-website-path.json","markdown":"https://www.namesilo.com/questions/data/can-i-use-dns-to-redirect-only-one-website-path.md"}