Recognition

Posts

13 Posts
  • Published Answer

    How to renew Let's Encrypt certificate on Ubuntu 20.04

    I think I found the solution from [this article](https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-e…
    By okadashinichi2819
  • Published Question

    How to renew Let's Encrypt certificate on Ubuntu 20.04

    I just got a notice from Let's Encrypt Expiry Bot: Your certificate (or certificates) for the names listed below will expire in 20 days (on 02 Jul 21 11:11 +0000). Please make sure to renew your certificate before the...
    1 By okadashinichi2819 Ubuntu 20.04 Let's Encrypt
  • Published Question

    What could be the reasons duplicate emails are sent from Ubuntu 20.04

    I used DO LAMP for Sendy (https://sendy.co/). Sendy is a newsletter program and it uses AWS SES and I set it up correctly. It sends a confirm-email ONCE and an email-confirmed email TWICE. The Message-IDs are differen...
    1 By okadashinichi2819 Ubuntu 20.04
  • Published Question

    How to check if cron is working on Ubuntu 20.04?

    I am trying to test a cron job. When I run crontab -l the output is: */1 * * * * curl https://www.google.com >> /home/log/crontest.log 2>&1 I also have the following to set cron log in the /etc/rsyslog.d/50-default....
    Accepted Answer: Hello, @okadashinichi2819 You can manually execute the cron job command in your shell and check for any errors. If the cron is executed fine then it should work when configured to run at specific times. You can also ...
    2 By okadashinichi2819 Ubuntu 20.04
  • Published Answer

    Can I add a virtual host for subdomain that is hosted by another server?

    Ok, I solved it. I run $ sudo certbot --apache -d .... for with/without www. Then it is working. Oh, dear. Thank you for the h…
    By okadashinichi2819
  • Published Question

    Can I add a virtual host for subdomain that is hosted by another server?

    I followed How To Set Up Apache Virtual Hosts on Ubuntu 18.04 (https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-18-04) and it is working for two domains, example1.com and e...
    2 By okadashinichi2819 Ubuntu 20.04
  • Published Question

    How much does it cost using App platform database?

    According to this article (https://docs.digitalocean.com/products/app-platform/concepts/database/), if you want to use a database, you need to set up a managed database, in my DigitalOcean account in the Cloud area. ...
    1 By okadashinichi2819 DigitalOcean App Platform
  • Published Question

    Is it possible to point a subdirectory to another domain?

    I may be asking a stupid question here. But please bear with me. I have 165.xxx.xx.xxx and DNS A Record value of mydomain.com is set to this IP address. I have a subfolder /var/www/html/mysub-folder and wondering if i...
    1 By okadashinichi2819 Ubuntu 20.04 DNS
  • Published Question

    Owner and group in /var/www/html files and directories

    Currently, one of the directories in the /var/www/html and index.php have the root as owner and group. And one of the directories has shin as owner and group. The shin is in the sudo group. The websites are working fi...
    Accepted Answer: Hi there, What I usually do is to set the owner and the group to the www-data user only to the directories where my application needs to write to. For example this would be the images upload folder and the cache folde...
    1 By okadashinichi2819 Ubuntu 20.04
  • Published Question

    Unable to decrypt string with openssl_decrypt() error

    I'm using LAMP on Ubuntu20.04 (1-Click LAMP Droplet). When I use a link like this: https://mydomain/sendy/confirm?e=TE3TnN892Q98UFZKeQULRsBA&l=763yDUk9HKBBhKPBG7JSP0JQ I get the following error: Unable to decrypt str...
    0 By okadashinichi2819 Ubuntu 20.04
  • Published Question

    How to use Github hooks when you disabled the root user

    For security reasons, I disabled the root user and created a new user to use SSH. When I use rsync, I rsync to the /home/my-name/my-dir directory and then mv to the /var/www/html/my-dir director, then used sudo chown ...
    Accepted Answer: Hi there, What I could suggest is allowing your non-root user to run this one specific command with sudo without being prompted for a password. You can configure that you can change the sudoers file on your server. Th...
    1 By okadashinichi2819 Ubuntu 20.04
  • Published Question

    Does Sendy/Amazon SES setup need to setup ufw Service:Mail?

    I was reading UFW Essentials: Common Firewall Rules and Commands (https://www.digitalocean.com/community/tutorials/ufw-essentials-common-firewall-rules-and-commands). In this article there is a Service: Mail section t...
    1 By okadashinichi2819 Ubuntu 20.04
  • Published Question

    Do you recommend to create a new user and not allow root user access for security reason?

    For security reasons, I read that I should create a new user and disallow root access by ssh. Is it a good idea? Please let me know your opinion. If it is a good idea please let me know a link to how to do it with Ubu...
    Accepted Answer: Hi there, Yes, I would strongly recommend that. It is a good security practice. Here is a step by step guide that you could follow to do your initial server setup: https://www.digitalocean.com/community/tutorials/init...
    1 By okadashinichi2819 Ubuntu 20.04