root domain to www forwarding issue
Posted
by
user182332
on Server Fault
See other posts from Server Fault
or by user182332
Published on 2013-10-17T16:19:38Z
Indexed on
2013/10/25
21:58 UTC
Read the original article
Hit count: 228
I want to forward my root domain(yourdomain.com) to www.yourdomain.com Should I delete the A record of the root domain and then setup 301 permanent forwarding to www.yourdomain.com?
I am hosting my app on heroku. So I don't really have an IP address to setup an A record.
The thing is I first deleted the A record of my root domain and then forwarded it. I pinged it and here is the result -
ping yourdomain.com
ping: cannot resolve yourdomain.com: Unknown host
Update and some more information - I am hosting a static website. And managing the DNS on cloudflare.com I added an A record for yourdomain.com -> 184.168.221.51 Just an random IP.
© Server Fault or respective owner