Daily Archives: December 29, 2019

Misconfiguration in DNS Forwarding which leads ERR_TOO_MANY_REDIRECTS

Today, I misconfigured DNS in GoDaddy Forwarding which caused this issue.

In GoDaddy, I’ve setup Forwarding to my IP IP). Then in the host, I have wordpress with below config in wp-config.php:

define('WP_HOME', 'http://www.sample.com/');

define('WP_SITEURL',' http://www.sample.com/');

This means, my host will forward to www.sample.com. Then GoDaddy Forwarding setup will redirect to Then wordpress on will redirect to www.sample.com again and again. The fix is that I delete Forwarding in GoDaddy and add A Name. See my another post for how to add AName.

See how my chrome debugger looks. And finally it got ERR_TOO_MANY_REDIRECTS error when opening the page.

Category: web

Setup a DNS name on GoDaddy for your host

First of all, some name concepts:

A Name, mapping from alias to IP. For example: sample.com ->

CNAME, mappgin from alias to another alias. For example: www -> sample.com

Below is a GoDaddy DNS page. Assume I registered a sample.com dns name.

In the first row, it has type A ‘@‘ name. Put your hosting IP on this row.

Then there is Type CNAME ‘www‘ name. I put value ‘@‘. This means there is a alias www.sample.com which will forward to A name ‘@‘, then to the hosting IP.


Category: web