How to Install WordPress on DigitalOcean

If you want to install WordPress on DigitalOcean, you can now do it easily because DigitalOcean provides a marketplace that includes an option to install WordPress.

What You Need

  • An active DigitalOcean account with a balance/credit
  • Internet connection
  • A registered domain

How to Install WordPress on DigitalOcean

*Click image to enlarge

  1. First, you log in to DigitalOcean, then open the dashboard/project page
  2. Select the project you want to use, then click the menu Create
    Cara Install WordPress di Digital Ocean - 1
  3. In the Create option, select the menu Droplet
    Cara Install WordPress di Digital Ocean - 2
  4. Now you can start creating a Droplet. Here you can select the menu Marketplace
    Cara Install WordPress di Digital Ocean - 3
  5. Select WordPress. If you cannot find it, you can search for it using the search bar
    Cara Install WordPress di Digital Ocean - 4
  6. Check the option Add a managed Database Cluster to work with your WordPress Droplet
    Cara Install WordPress di Digital Ocean - 5
  7. Choose the server plan you want to use.
    Cara Install WordPress di Digital Ocean - 6
  8. Choose a region that matches your website's target audience
    Cara Install WordPress di Digital Ocean - 7
  9. Add a Root password to access SSH, or you can use SSH Keys
    Cara Install WordPress di Digital Ocean - 8
  10. Choose any additional features you want to use
    Cara Install WordPress di Digital Ocean - 9
  11. Choose your Host Name, Tag, and Project, then click create Droplet
    Cara Install WordPress di Digital Ocean - 10
  12. Wait until the Droplet deployment process is complete.
    Cara Install WordPress di Digital Ocean - 11
  13. In the Dropletmenu, copy your IP address and log in via SSH using the command ssh [email protected] in CMD/Terminal, or by using an SSH application like Putty
    Cara Install WordPress di Digital Ocean - 12
  14. Configure your WordPress via SSH, such as adding a domain/subdomain
    Cara Install WordPress di Digital Ocean - 13
  15. Add your WordPress email address
    Cara Install WordPress di Digital Ocean - 14
  16. Add a WordPress username and password (the password will not be displayed while you type)
  17. Add a Blog name
    Cara Install WordPress di Digital Ocean - 15
  18. Confirm that the entered data is correct by typing Y for yes, and N if incorrect
    Cara Install WordPress di Digital Ocean - 16
  19. Confirm whether you want to use a free SSL from Let’s Encrypt or not. If yes, you will then need to enter an email address to confirm SSL renewal
    Cara Install WordPress di Digital Ocean - 17
  20. Agree to continue
    Cara Install WordPress di Digital Ocean - 18
  21. In the option for which website will use HTTPS, you can just press enter without typing anything
    Cara Install WordPress di Digital Ocean - 19
  22. Visit your WordPress by typing the IP address in the address bar
    Cara Install WordPress di Digital Ocean - 20

Connecting a Domain to a DigitalOcean IP

After the installation process is complete, you need to log in to the configuration so that the domain points to the WordPress installation IP.

  1. Log in to your domain provider. Because the demo.nasikin.my.id domain was created via cPanel, we will use cPanel here
  2. Open the DNS Zone Editor or Zone Editor menu
  3. Change the domain IP Address to the DigitalOcean Server IP, then wait for the domain to resolve to the new IP. This usually takes 6-8 hours
    Cara Install WordPress di Digital Ocean - 21
  4. Log in to your WordPress with http://127.0.0.1/wp-admin (change the IP to match your server IP)
  5. Open WordPress settings > General > Change WordPress Address (URL) and Site Address (URL) to your domain name, then save
    Cara Install WordPress di Digital Ocean - 22

Written by

Muhammad Khoirun Nasikin

I enjoy tinkering with WordPress, hosting, VPS, web development, and various small experiments related to websites. I have over 3 years of experience in the web hosting industry.

COMMENTS

Loading...