# SSL for WordPress using LightSail

**URL:** <https://community.letsencrypt.org/t/ssl-for-wordpress-using-lightsail/119409>\
**Category:** Help\
**Created:** [April 14, 2020, 10:12am UTC](https://community.letsencrypt.org/t/ssl-for-wordpress-using-lightsail/119409 "2020-04-14T10:12:38Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![SergioCosta86](https://avatars.discourse-cdn.com/v4/letter/s/ccd318/32.png) [@SergioCosta86](https://community.letsencrypt.org/u/SergioCosta86)\
**Post date:** [April 14, 2020, 10:12am UTC](https://community.letsencrypt.org/t/ssl-for-wordpress-using-lightsail/119409/1 "2020-04-14T10:12:38Z")

</div>

Hello everyone,

I’m new using Amazon LightSail. I’m following this link: [https://lightsail.aws.amazon.com/ls/docs/en\_us/articles/amazon-lightsail-using-lets-encrypt-certificates-with-wordpress](https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-using-lets-encrypt-certificates-with-wordpress)

I’m trying to configure the SSL certificate for WordPress, I’m on the Step 5 on the Guide. When i use MX Toolbox to verify the DNS Record until now it showing “DNS not found”. It’s been a day since I added it to the panel, but it hasn’t propagated yet.

what’s the problem? I’ve tried to follow the guide several times, I don’t understand what I’m doing wrong.

Thanks for help.

Note: At this moment, the site is hosted on another server and the domain is registered with another company. We just want to migrate the site to AWS. We already did, we are just configuring SSL.

Check my image, please:

 ![network amazon](https://global.discourse-cdn.com/letsencrypt/original/3X/4/0/4030d2c5c4d3536a6c3b54aeb04cdddaf2377c6c.jpeg)

My domain is:  
www.vinicom.pt

I ran this command:  
sudo certbot -d $DOMAIN -d $WILDCARD --manual --preferred-challenges dns certonly

It produced this output:  
Display 2 DNS Zone TXT Records. I added on the Network panel .

My web server is (include version):  
Linux Server

The operating system my web server runs on is (include version):  
I think is Linux OS.

My hosting provider, if applicable, is:  
Amazon LightSail

I can login to a root shell on my machine (yes or no, or I don’t know):  
Yes.

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):  
LightSail’s Control Panel

The version of my client is (e.g. output of `certbot --version` or `certbot-auto --version` if you’re using Certbot):  
I have the latest version. I ran the commands to update the system.

---

<div class="post-metadata">

**Author:** ![9peppe](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/9peppe/32/31596_2.png) [@9peppe](https://community.letsencrypt.org/u/9peppe)\
**Post date:** [April 14, 2020, 10:14am UTC](https://community.letsencrypt.org/t/ssl-for-wordpress-using-lightsail/119409/2 "2020-04-14T10:14:30Z")

</div>

> [@SergioCosta86](#):
>
> When i use MX Toolbox to verify the DNS Record until now it showing “DNS not found”.

Don't use MX toolbox, it only checks MX records. You need to check A and TXT records.

also: you are not using amazon's nameservers, so whatever you put there is not considered.

```plaintext
% dig vinicom.pt ns

; <<>> DiG 9.16.1-Ubuntu <<>> vinicom.pt ns
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46363
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;vinicom.pt. IN	NS

;; ANSWER SECTION:
vinicom.pt. 3599	IN	NS	ns2.ptempresas.pt.
vinicom.pt. 3599	IN	NS	ns1.ptempresas.pt.
vinicom.pt. 3599	IN	NS	ns10.ptempresas.pt.

;; Query time: 88 msec
;; SERVER: 127.0.0.53#53(127.0.0.53)
;; WHEN: mar apr 14 12:16:38 CEST 2020
;; MSG SIZE rcvd: 105

```

---

<div class="post-metadata">

**Author:** ![SergioCosta86](https://avatars.discourse-cdn.com/v4/letter/s/ccd318/32.png) [@SergioCosta86](https://community.letsencrypt.org/u/SergioCosta86)\
**Post date:** [April 14, 2020, 10:24am UTC](https://community.letsencrypt.org/t/ssl-for-wordpress-using-lightsail/119409/3 "2020-04-14T10:24:52Z")

</div>

Hello 9peppe,

Our domain is registered on the ptempresas.pt.  
Do i need to add the amazon nameservers at this company?

Thanks for reply.

---

<div class="post-metadata">

**Author:** ![JuergenAuer](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/juergenauer/32/26491_2.png) [@JuergenAuer](https://community.letsencrypt.org/u/JuergenAuer)\
**Post date:** [April 14, 2020, 10:25am UTC](https://community.letsencrypt.org/t/ssl-for-wordpress-using-lightsail/119409/4 "2020-04-14T10:25:02Z")

</div>

Hi @SergioCosta86

> [@SergioCosta86](#):
>
> My domain is:  
> www.vinicom.pt

there is a check of your domain, ~~30 minutes old - [https://check-your-website.server-daten.de/?q=vinicom.pt](https://check-your-website.server-daten.de/?q=vinicom.pt)

These

```nohighlight
vinicom.pt
	• ns1.ptempresas.pt
	62.28.40.139
Lisbon/Portugal (PT) - PT Prime	•

	• ns10.ptempresas.pt
	185.17.231.126
Lisbon/Portugal (PT) - PT Prime	•

	• ns2.ptempresas.pt
	62.28.40.141
Lisbon/Portugal (PT) - PT Prime	•

```

are your name servers, nothing else.

If you use dns validation + manual, your TXT entry must be visible. But there

 ![2020-04-14.vinicom.pt](https://global.discourse-cdn.com/letsencrypt/original/3X/9/d/9d266c789a30b40081d236c43e47aed03caa13f9.png)

is nothing visible. Should look like

 ![server-daten.de.correct.txt.definition](https://global.discourse-cdn.com/letsencrypt/original/3X/0/9/095e9ab3834379dd810cd83e6a8b2ec7c4c6c033.png)

---

<div class="post-metadata">

**Author:** ![9peppe](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/9peppe/32/31596_2.png) [@9peppe](https://community.letsencrypt.org/u/9peppe)\
**Post date:** [April 14, 2020, 10:25am UTC](https://community.letsencrypt.org/t/ssl-for-wordpress-using-lightsail/119409/5 "2020-04-14T10:25:43Z")

</div>

You should decide that for yourself. You can either add the records on your current nameservers, or switch nameservers at your registrar.

---

<div class="post-metadata">

**Author:** ![SergioCosta86](https://avatars.discourse-cdn.com/v4/letter/s/ccd318/32.png) [@SergioCosta86](https://community.letsencrypt.org/u/SergioCosta86)\
**Post date:** [April 14, 2020, 10:42am UTC](https://community.letsencrypt.org/t/ssl-for-wordpress-using-lightsail/119409/6 "2020-04-14T10:42:02Z")

</div>

Ok. I will do it. I will go to ask the domain company to add my nameservers. After that, the SSL can work, right?

---

<div class="post-metadata">

**Author:** ![SergioCosta86](https://avatars.discourse-cdn.com/v4/letter/s/ccd318/32.png) [@SergioCosta86](https://community.letsencrypt.org/u/SergioCosta86)\
**Post date:** [April 14, 2020, 10:46am UTC](https://community.letsencrypt.org/t/ssl-for-wordpress-using-lightsail/119409/7 "2020-04-14T10:46:15Z")

</div>

Apparently the domain server does not exist.  
In this case, do i need to add my amazon’s nameservers where is domain registered, right?

This is my doubt.

Thanks for help.

---

<div class="post-metadata">

**Author:** ![JuergenAuer](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/juergenauer/32/26491_2.png) [@JuergenAuer](https://community.letsencrypt.org/u/JuergenAuer)\
**Post date:** [April 14, 2020, 11:19am UTC](https://community.letsencrypt.org/t/ssl-for-wordpress-using-lightsail/119409/8 "2020-04-14T11:19:25Z")

</div>

> [@SergioCosta86](#):
>
> Apparently the domain server does not exist.

If you use dns validation, you don't need a working website.

> [@SergioCosta86](#):
>
> In this case, do i need to add my amazon’s nameservers where is domain registered, right?

That's not required. Change your ` ns1.ptempresas.pt` directly, if you use `--manual`.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [May 14, 2020, 11:19am UTC](https://community.letsencrypt.org/t/ssl-for-wordpress-using-lightsail/119409/9 "2020-05-14T11:19:27Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
