Overlaying my Heroku Rails application on www and without www only works for an hour?

My Rails application works with Heroku, and if I set my CNAME in my Afrihost domain register to www.domain, and without www it works fine for an hour. Then it kills the application without the www infront domain, and I need to login again and change the dns again.

Afrihosts states that, due to a specific law, it cannot provide a cname on either www or without www-front. Is this true for all domain registries?

What alternatives exist, since I want to specify both with www, and without it.

Thanks in advance.

Erin

+5
source share
3 answers

CNAMES (, yourapp.com), (, www.yourapp.com).

A - DNSimple ALIAS.

+4

, . URL- mywebsite.com www.mywebsite.com. , "" - . URL- http://www.mywebsite.com/ ' "". .

+4

All Articles