Forums

Safely redirect/forward name.com to www.name.com while having an ssl certificate?

Hello. I am curious about how to set up redirection for a site that has an SSL cert. As of now my site only works if you type www.name.com. But the godaddy naked domain page shows up at name.com. I wish to go with solution one in this post: naked domains

However I called someone at go daddy and they did not recommend that I use forwarding.

They recommended that I get my web apps IP address and change the A record.

However after speaking with Pythonanywhere, they recommended against doing this.

Is there a way to safely redirect/forward name.com to www.name.com even though I have an ssl certificate? Maybe in the beginning I should have set the CNAME without the www? Is creating a second webapp my only solution?

BTW I force https so if one was to type http, they are automatically sent to https.

I may have gotten it using forwarding. I don't know why Godaddy initially suggested to use my IP in the A record. Now instead of "parked" it says "forwarded" under the A record. All appears to be working. The link above mentions it won't work with https://name.com which is correct. But it works ok with http://name.com, as well as name.com... they forward to https://www.name.com now. Keep my fingers crossed that it stays that way haha.

The only problem with forwarding is that, although http://name.com will work, https://name.com will not. (that is explained in the naked domains help page that you linked to).