Report this

What is the reason for this report?

Failed Authorization while Setting up SSL

Posted on December 4, 2018

Please see all related information along with screenshots at the link below:

https://www.evernote.com/l/AlkPqA86jgBPwagHUNoZx4EdXQEMSHjhr2Q/



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

@tkhara

The domain phpmysqlcms.tk is not defined you need to associate an IP address with the domain name so you can create a HTTPS certificate for it.

www.phpmysqlcms.tk resolves OK but not phpmysqlcms.tk so make sure an A record or CNAME exists for phpmysqlcms.tk.

$ dig www.phpmysqlcms.tk +short
159.65.146.159
$ dig phpmysqlcms.tk

; <<>> DiG 9.10.3-P4-Ubuntu <<>> phpmysqlcms.tk
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17705
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;phpmysqlcms.tk.			IN	A

;; AUTHORITY SECTION:
phpmysqlcms.tk.		1796	IN	SOA	ns1.digitalocean.com. hostmaster.phpmysqlcms.tk. 1543820849 10800 3600 604800 1800

;; Query time: 28 msec
;; SERVER: 127.0.1.1#53(127.0.1.1)
;; WHEN: Tue Dec 04 13:30:03 CST 2018
;; MSG SIZE  rcvd: 110

Hence the error: “The server could not resolve a domain name”

Cheers

Hi,

Thank you for your answer. I have created an a record for phpmysqlcms.tk and a cname for www.phpmysqlcms.tk

I now see the following error:

https://www.evernote.com/l/AlmdXoJvhs1DLZvSO50dHWpnvS_w7ljfPUw/

Thank you.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.