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
- First, you log in to DigitalOcean, then open the dashboard/project page
- Select the project you want to use, then click the menu Create
- In the Create option, select the menu Droplet
- Now you can start creating a Droplet. Here you can select the menu Marketplace
- Select WordPress. If you cannot find it, you can search for it using the search bar
- Check the option Add a managed Database Cluster to work with your WordPress Droplet
- Choose the server plan you want to use.
- Choose a region that matches your website's target audience
- Add a Root password to access SSH, or you can use SSH Keys
- Choose any additional features you want to use
- Choose your Host Name, Tag, and Project, then click create Droplet
- Wait until the Droplet deployment process is complete.
- 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
- Configure your WordPress via SSH, such as adding a domain/subdomain
- Add your WordPress email address
- Add a WordPress username and password (the password will not be displayed while you type)
- Add a Blog name
- Confirm that the entered data is correct by typing Y for yes, and N if incorrect
- 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
- Agree to continue
- In the option for which website will use HTTPS, you can just press enter without typing anything
- Visit your WordPress by typing the IP address in the address bar
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.
- Log in to your domain provider. Because the demo.nasikin.my.id domain was created via cPanel, we will use cPanel here
- Open the DNS Zone Editor or Zone Editor menu
- 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
- Log in to your WordPress with http://127.0.0.1/wp-admin (change the IP to match your server IP)
- Open WordPress settings > General > Change WordPress Address (URL) and Site Address (URL) to your domain name, then save
COMMENTS
Loading...