Author Topic: using www I get site untrusted warning  (Read 9023 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
using www I get site untrusted warning
« on: April 03, 2020, 06:59:08 PM »
Hi guy's.. This has baffled me for a while and I'm trying to work out what I've done or not.
Basically if a user visits our website using https://impressoespresso.co.uk they get the padlock and all is well. However, if they visit the website with https:/www.impressoespresso.co.uk they get a warning that the site might be bogus and you shouldn't trust it.
Any ideas what I need to do.

Offline
***
Re: using www I get site untrusted warning
« Reply #1 on: April 03, 2020, 07:16:30 PM »
Is your dns server ns1.centos-webpanel.com?

Offline
*
Re: using www I get site untrusted warning
« Reply #2 on: April 03, 2020, 07:19:49 PM »
Hi pixelpadre thanks for the quick reply.
Yes that is correct:
ns1.centos-webpanel.com
ns2.centos-webpanel.com

Re: using www I get site untrusted warning
« Reply #3 on: April 03, 2020, 08:02:33 PM »
It's simple. You haven't got a redirect in place for the www subdomain = easy option.
You need to have the SAN in the SSL key if you wish to treat www as a different site. This has been mentioned elsewhere in the forum, if you care to search around. Hint: change CNAME to A record.

Offline
*
Re: using www I get site untrusted warning
« Reply #4 on: April 03, 2020, 09:13:24 PM »
Thanks ejsolutions
I couldn't work out hoe CNAMES can redirect. My DNS knowledge is limited.
I've added the domain to CNAMES but I didn't get the result I was expecting. So I placed a redirect in htdocs.... is that still acceptable?

Offline
***
Re: using www I get site untrusted warning
« Reply #5 on: April 03, 2020, 09:29:45 PM »
Hi pixelpadre thanks for the quick reply.
Yes that is correct:
ns1.centos-webpanel.com
ns2.centos-webpanel.com

Is ns1.centos-webpanel.com a valid name server? I thought it was a bogus example?

Offline
*
Re: using www I get site untrusted warning
« Reply #6 on: April 03, 2020, 09:33:24 PM »
No that is the genuine NS

Re: using www I get site untrusted warning
« Reply #7 on: April 03, 2020, 09:40:44 PM »
Thanks ejsolutions
I couldn't work out hoe CNAMES can redirect. My DNS knowledge is limited.
I've added the domain to CNAMES but I didn't get the result I was expecting. So I placed a redirect in htdocs.... is that still acceptable?
A www (now considered antiquated) redirect is perfectly acceptable.
You should already have had an CNAME record at your Registrar for www though it's not compulsory, likewise at your server/nameserver DNS. It is these that should've been replaced by A records but you have now circumvented the issue. 
(Strictly speaking, having a subdomain as an A record saves one DNS record lookup, over a CNAME but in reality no-one is likely to notice, except when a nameserver is slow to respond.)
« Last Edit: April 03, 2020, 09:44:40 PM by ejsolutions »

Offline
*
Re: using www I get site untrusted warning
« Reply #8 on: April 03, 2020, 09:44:34 PM »
Ah all good. Thanks for the reply :)

Re: using www I get site untrusted warning
« Reply #9 on: April 03, 2020, 09:47:07 PM »
Is ns1.centos-webpanel.com a valid name server? I thought it was a bogus example?
Sig.
Quote
I will install your control panel at no cost.
Yikes!

Re: using www I get site untrusted warning
« Reply #10 on: April 03, 2020, 09:57:54 PM »
LeafDNS:
Quote
www.impressoespresso.co.uk. CNAME @impressoespresso.co.uk.
Incorrect should'nt have the '@'
The At Symbol is as special case, only used by some DNS providers, to define the default host eg. @ A 123.456.123.456
« Last Edit: April 03, 2020, 10:01:45 PM by ejsolutions »

Offline
*
Re: using www I get site untrusted warning
« Reply #11 on: April 03, 2020, 10:01:08 PM »
I have had a lot of issues trying to glue records so that I can have a ns1.impressoespreeso.co.uk (like my domain) but as I said I'm not so good with DNS and opted to have CWP host that for me. Yeah the name sucks but it is better than loosing the domain in the depths of the internet having lost the glue  ;) :) ;D

Offline
*
Re: using www I get site untrusted warning
« Reply #12 on: April 03, 2020, 10:03:15 PM »
LeafDNS:
Quote
www.impressoespresso.co.uk. CNAME @impressoespresso.co.uk.
Incorrect should'nt have the '@'
The At Symbol is as special case, only used by some DNS providers, to define the default host eg. @ A 123.456.123.456

Thank you :)

Re: using www I get site untrusted warning
« Reply #13 on: April 03, 2020, 10:06:39 PM »
Now it's perfect apart from the centos-webpanel crap TTL, which you have no control over.
Quote
impressoespresso.co.uk. (95%)
Once the 2 nameservers (that stinks; should be at least 3!) get in sync, it should score a 97% ;)

P.S. not any worse than costacoffee ;)

Offline
*
Re: using www I get site untrusted warning
« Reply #14 on: April 03, 2020, 10:23:01 PM »
ejsolutions

I did manage it once for one of my domains. FQD along with DNS... but it took me a while and I think it turned me blind a bit. Perhaps now that we are all in a lockdown I might try with this domain :)