Troubleshooting URL Redirects
Table of Contents
Here’s a checklist of common issues to help you if a configured redirect is not redirecting correctly:
Checking domain resolution status
To use our redirector service, the domain should resolve with DNSimple. Check this list of common domain resolution errors to determine whether the domain is resolving with DNSimple.
Using cURL to test the redirect
Sometimes the redirect is working correctly, but the browser cached the previous page and it’s not showing the redirect. We highly recommend using an HTTP client and not a browser to test the redirect.
cURL
is the most common HTTP client, and it’s available for a large number of operating systems.
To test the redirect via cURL
use the -I
option to print the response headers:
$ curl -I www.weppos.xyz
HTTP/1.1 301 Moved Permanently
Location: http://target.com
X-Redirector-Version: 1.5.1
Date: Mon, 01 Aug 2016 20:24:42 GMT
Content-Type: text/plain; charset=utf-8
The response code should be 301, and it should contain the Location. We also include the X-Redirector-Version
custom header to help you determine if the redirect is sent from our redirector or from some other system.