2015-06-12

I have an App hosted on Heroku, Domain and DNS Target is <appname>.herokuapp.com, as usual.

My 1and1 Domain <domain>.net is set up to HTTP-redirect to www.<domain>.net.
I added the www subdomain which has the CNAME Alias <appname>.herokuapp.com.

This should work, at least i've read about this "workaround" in several threads on Stackoverflow / Webmasters.

However, accessing either <domain>.net or www.<domain>.net leads to a "Too many Redirects" error.

There are no .htaccess files on the entire associated 1and1 webspace if that matters. The Heroku app is written in Node.js and works fine when accessed via the Heroku Domain. How can i resolve this?

Edit:

These are the DNS Settings:

Root - <domain>.net

Nameserver: 1&1 Nameserver (Default)
A/AAAA Entry (Ip address): 1&1 IP-Address (Default)

Subdomain - www.<domain>.net

DNS Settings: CNAME - Alias: <appname>.herokuapp.com

Show more