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.
Is your dns server ns1.centos-webpanel.com?
Hi pixelpadre thanks for the quick reply.
Yes that is correct:
ns1.centos-webpanel.com
ns2.centos-webpanel.com
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.
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?
Quote from: Steff 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
Is ns1.centos-webpanel.com a valid name server? I thought it was a bogus example?
No that is the genuine NS
Quote from: Steff 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?
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.)
Ah all good. Thanks for the reply :)
Quote from: pixelpadre on April 03, 2020, 09:29:45 PM
Is ns1.centos-webpanel.com a valid name server? I thought it was a bogus example?
Sig.
QuoteI will install your control panel at no cost.
Yikes!
LeafDNS:
Quotewww.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
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
Quote from: ejsolutions on April 03, 2020, 09:57:54 PM
LeafDNS:
Quotewww.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 :)
Now it's perfect apart from the centos-webpanel crap TTL, which you have no control over.
Quoteimpressoespresso.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 ;)
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 :)
Quote from: Steff on April 03, 2020, 09:33:24 PM
No that is the genuine NS
so how does the name server know about the server ip
Quote from: pixelpadre on April 03, 2020, 11:53:02 PM
so how does the name server know about the server ip
From the Registrar.
i get that part. My registrar points to linode where my dns records are stored.
But how does centos-webpanel know about my dns records
Quote from: pixelpadre on April 04, 2020, 11:08:23 AM
i get that part. My registrar points to linode where my dns records are stored.
But how does centos-webpanel know about my dns records
Jeez! By pointing CWP nameservers (of which there should be the option in the GUI to add more than two) to the ones specified at Linode.