LogoNavigate back to the homepage

One-Click app builds WordPress and Ghost, binding the customize domain in DigitalOcean

April 24th, 2020 · 1 min read

In this article, I will show you how do I install Ghost and WordPress in Digitalocean via marketplace one-click apps, it’s pretty simple and easy to use, but we still do a few things to configure about customize domain.

First all, you need to visit DigitalOcean marketplace, there are a ton of one-click apps to ready install.




You need to SSH application to configure that, SSL certificate and register your domain ( Let’s encrypt).

1$ ssh root@use_your_droplet_ip

The important thing is, how do I bind my customize domain for my site? There is a workflow by me.

Navigate to DigitalOcean panel/Networking, set CNAME and A RECORD for your domain here is an example:

1CNAME www.yourdomain.com
2A RECORD yourdomain.com

Also, it has NameServers by default.

1NS yourdomain.com ns1.digitalocean.com
2NS yourdomain.com ns2.digitalocean.com
3NS yourdomain.com ns3.digitalocean.com

Next, navigate to your domain provider, for me, I’m in name.com, set nameservers.



If you’re using WordPress, you need to SSH and set SSL certificate.

1$ certbot --apache -d example.com -d www.example.com

Next delete 80 tcp.

1$ ufw delete allow 80/tcp

Here is the documentation for detail.

For now you have done it, Cheers!

More articles from Yish

How does config:cache work in Laravel?

We all know if you want to accelerate performance in laravel, you can do a lot of things, one of the things is cache what you think, likely route, config, view, etc, but how does it work in laravel?

February 23rd, 2020 · 1 min read

Laravel passport prune / revoke token event listeners

I found serveral examples, but I used two examples and sort up it, here is solution: stack overflow official Firstly, you need to add two…

December 26th, 2019 · 1 min read
© 2019–2020 Yish
Link to $https://twitter.com/yishlaiLink to $https://github.com/Mombuyish