Forums

Custom domain + webapp working only with www.domain.com, not with domain.com

Hello, I have bought a custom domain and set up CNAME following your guide, alias WWW, points to webapp-xxx.pythonanywhere.com, and it works!

But only works when I enter www.domain.com in the browser, not with domain.com (without the WWW). So far my domain provider asked me to create an A record, alias @ and point it to the IPV4, but I've read your IPs could change pretty frequently.

I've tried to: Create a CNAME with alias @ and point it to webapp-xxx.pythonanywhere.com, no result. Create a CNAME with alias domain.com and point it to webapp-xxx.pythonanywhere.com, no result.

What else would you recommend me to try? I know that's not a problem you can fix, but maybe I am missing something pretty simple.

Edit: I also got it with Let's Encrypt certificate, and it works!

The best option for "naked" domains these days is to set up an A record with NakedSSL.

You always have a right answer. Thanks. It worked, and it's free!!