Questions tagged [digital-ocean]

Digital Ocean (DO) is a hosting platform that offers the possibility to create Virtual Machines (VM). These VMs are called droplets in DO land.

241 questions
0
votes
1 answer

Who is the correct owner and group for these system files? (Digital Ocean Droplet running Ubuntu 20.04)

This should be a simple answer for anyone using a Digital Ocean droplet on Ubuntu 20.04. I accidentally ran a command that changed ownership and group of a bunch of files in /var (outside the directory I was working in). I've managed to restore the…
fronzee
  • 185
  • 1
  • 3
  • 10
0
votes
0 answers

Configuring virtual host subdomains on a Digital Ocean server using Nginx

So I just installed and configured Nginx 1.20.2 on my Digital Ocean Ubuntu 18.04 instance. I have purchased a domain through Namecheap, let's call it testdomain.io. I wanted to be able to access my Digital Ocean instance by visiting that domain…
user959933
0
votes
1 answer

My Node.js droplet can't connect to DigitalOcean Managed redis

I have a Parse Server (which is a Node.js server basically) and I'm trying to connect to a redis database, which is hosted on DigitalOcean Managed Databases. Both servers are on the same VPC network and the droplet is added to redis's accepted…
Sotiris Kaniras
  • 198
  • 2
  • 10
0
votes
1 answer

Why doesn’t my DigitalOcean load balancer forward traffic to Parse Servers?

Today I created a load balancer and assigned to it 3 droplets (all 3 host parse servers), but it doesn't transfer the traffic to them. It doesn’t even pass the health checks! All 3 of my parse servers, have 22 and 1337 as their only open inbound…
0
votes
1 answer

Getting random 404 requests from unknown IPs in Apache + Ubuntu server

This is strange. I just installed a new Ubuntu + Apache in my Digitalocean droplet and installed a Laravel APP there. Now suddenly I see these kind of strange POST, GET and CONNECT requests from unknown IPs. Screenshot:…
0
votes
1 answer

How to check what triggered high CPU usage on past days, on Digital Ocean?

I want to investigate what caused a high cpu usage for several hours on 1/16. Digital Ocean graph shows a prolonged high cpu usage in the course of about 12 hours. Is there a log somewhere that I can tap into that would reveal to me more detail…
user5248
  • 103
  • 2
0
votes
0 answers

Switching from SQLite to Mysql in production causes error

I am using a digital ocean server. After switching to mysql database from sqlite, I got 502 Bad Gateway nginx/1.18.0 (Ubuntu) This is running fine when I run the project from the terminal using python manage.py runserver ip:8000 . I think there…
Atom Store
  • 113
  • 5
0
votes
1 answer

Lots of suspicious GET requests that overload my CPU

I have a DigitalOcean droplet that hosts a small website with pretty much no traffic. Yesterday, I received an alert that my CPU was over 95%. Normally it runs between 1% to 5%. In the "bandwidth" chart on my DigitalOcean dashboard, the outbound…
0
votes
1 answer

Litespeed - NextJS app in DigitalOcean Droplet - Restart Custom Server

Am using the DigitalOcean OpenLiteSpeed NodeJS image from marketplace for setting up the Droplet, for running my NextJS app. I have setup everything and when tested, the home page was displaying properly. When I clicked the Login button (that uses…
Vpp Man
  • 103
  • 1
0
votes
0 answers

Server changes Domain Name to IP in address bar

I'm no server guru so looking for some assistance. I am hosting a laravel project on a digital ocean droplet, and pointing a subdomain registered at godaddy to said droplet. The address bar is updating to display the server IP rather than the…
0
votes
1 answer

How to hide Origin Server IP address from Reconnaissance tools

When it comes to web server security, I am a paranoid person. On DigitalOcean, I'm running a server. They refer to it as a Droplet. Cloudflare is my DNS provider, and Cloudflare proxies and protects my server from DDoS attacks. However, I tried to…
0
votes
1 answer

DigitalOcean Droplet ssh to use a named key

It's been a while since I've done this and configured ssh keys. I generated an ssh key with a different file name than id_rsa I have a DigitalOcean Droplet where I placed a named ssh key pair on creation. Then I created a ~/.ssh/config on my local…
Kyle Calica-St
  • 103
  • 1
  • 6
0
votes
0 answers

DigitalOcean: Custom network ports not opening on Debian droplets

I have hosted multiple web servers on port tcp/80, tcp/443, tcp/3333, tcp/8443, tcp/8080, tcp/8081. The VM is a DigitalOcean droplet with Debian 10 OS. I able to access web servers at port 80 and 443 but not the other ports. I have done the…
0
votes
1 answer

Error 500 on Digital Ocean while using SwiftMailer to send email

I am trying to send an email to myself from my seconday email address to my primary email address when a contact form is submitted to my website. I am using Swiftmailer to achieve this. The code works perfectly when I use it offline on my XAMPP…
0
votes
1 answer

Can a VPN service be used like a reverse VPN allowing inbound traffic for serving a website?

I’ve done quite a bit of searching, and it seems this can be done, but the answers I seem to find are either vague or responses are something along the lines of “but why would you want to do that?” I’m hoping someone can point me in the right…
Dupre
  • 13
  • 2