Domain: redirect www to non-www

I just recently removed the Webflow A records from my DNS zone records. After a few hours, the naked domain (mydomain.com) was already pointing back to my hosting provider. I imported the new website there, and everything is working just fine. The old site was using a www subdomain. When I opened www.mydomain.com in my browser, it showed the old site. Possible solutions I tried but nothing worked: - Added www to non-www 301 redirects in .htaccess file. - Added a wildcard redirect to the same domain. - Changed WordPress Site URL to have www. - Looked for "www" in the Zone Records and the closest one I found was _acme-challenge.www.mydomain.com and I guess this is just for SSL. Is it just a cache or is there something I need to do?
3 Replies
ghostmonkey
ghostmonkey•2y ago
on your dns, did you make a CNAME for www that points to your nonwww page?
ErickO
ErickO•2y ago
and in case you did, have they had enough time to propagate? https://www.whatsmydns.net/
DNS Propagation Checker - Global DNS Checker Tool
Instant DNS Propagation Check. Global DNS Propagation Checker - Check DNS records around the world.
Daryl M
Daryl MOP•2y ago
Wow! Yeah, I just found a record that points to proxy-ssl.webflow.com and replaced it with my naked domain mydomain.com. Thank you so much! What a legend! This is a great tool! I didn't know something like this existed! We were just doing it manually by keeping our eyes out to see if the DNS has already propagated. 😄 Thank you so much!
Want results from more Discord servers?
Add your server