Domain not redirecting without www


#1

I have setup my domain in Godaddy using cname as I also use google apps so I can’t setup nameservers.

I have the site correctly showing my site if I put www.danandwen.com

but without the www I get server IP could not be found.
I have also found that if I put http://www.danandwen.com it redirects to http://danandwen.com which gets the server IP not found.
But if I put https://www.danandwen.com I get my website though the https is crossed out with a warning saying site not secure.

I have added both domains with and without in the My Domains section of the hosting account.

I am also unsure how the domains should be setup in my wordpress install. Should it be https://www.danandwen.com or http://www.danandwen.com?


#2

Did you add a second CNAME record with
@ points to <the000webhostapp.000webhostapp.com>


#3

I’m unable to add this CNAME

I’ve spoken to Godaddy and they are saying The error is NET::ERR_CERT_COMMON_NAME_INVALID


#4

You do not have any CNAME nor NS set :confused:

id 51406
opcode QUERY
rcode NOERROR
flags QR RD RA
;QUESTION
danandwen.com. IN CNAME
;ANSWER
;AUTHORITY
danandwen.com. 1799 IN SOA ns69.domaincontrol.com. dns.jomax.net. 2018020702 28800 7200 604800 3600
;ADDITIONAL

#5

If you want to use CNAME pointing please go to your domain registrar first, at their DNS zone management. There please create two CNAME records:

@ --> your website address

www --> your website address

i.e. sitename.000webhostapp.com


#6

Whe I try to add the @ --> your website address I get the response that The specified record already exists. Here is a screenshot of my configuration


#7

Can you contact GoDaddy and ask them about that? :slight_smile:


#8

Edit your current record maybe?