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.

Filter by
Sorted by
Tagged with
8 votes
1 answer
101k views

Can not restart Nginx, "Job for nginx.service failed because the control process exited with error code." [duplicate]

I have a digitalocean droplet with Ubuntu 16.04 running on it. I am serving mostly static sites from it with Nginx, but it suddenly stopped working. (As you might understand from this intro, I am ...
Michael Krøyserth-Simsø's user avatar
8 votes
3 answers
13k views

Dovecot cant connect to imaps 993

I am trying to set up a mail server in digitalocean VPS. The problem is that i cant telnet to 993 although firewall is inactive and dovecot is listening. Please tell me where i do wrong. I followed ...
Fandi Susanto's user avatar
8 votes
2 answers
3k views

DigitalOcean's object storage, Spaces, is randomly slow on retrieving small files

We switched from a custom block storage solution to DigitalOcean's object storage and I'm kind of disappointed in the speed. Is there anyway we could retrieve objects asynchronously? Also some ...
Jared Dunham's user avatar
7 votes
3 answers
7k views

Hundreds of failed login attempts: Is that normal?

Whenever I SSH into my DigitalOcean droplet as root (where possible I use a user instead), I regularly see there is hundreds, sometimes of thousands failed login attempts from the past few days. Is ...
Alicia's user avatar
  • 183
6 votes
1 answer
3k views

Resize zfs pool

We are using Digital Oceans block storage feature on our FreeBSD system. When we add a new block storage we get: da0 at vtscsi0 bus 0 scbus0 target 0 lun 1 da0: <DO Volume 1.5.> Fixed Direct ...
larsemil's user avatar
  • 299
6 votes
2 answers
88k views

Permission denied (publickey) - mac

I can't log into my droplet. This is another post I made about the issue that did not solve my problem, but explains some of what I have tried. https://stackoverflow.com/questions/52917470/permission-...
Mote Zart's user avatar
  • 239
5 votes
1 answer
845 views

Digital Ocean: "Failed to open serialization file readonly file system" Issue #Ubuntu

After applying an apt update + upgrade to my Ubuntu VM at Digital Ocean I started seeing the message in the title. The Wisdom of Internet say's that this problem typically occur when the UUID in /...
vijayvithal's user avatar
4 votes
2 answers
3k views

How to I make a domain resolve to different IP's when resolved from internal network and external network?

So I looked through BIND and Dnsmasq and unable to figure this out. I have a few of servers on DigitalOcean, and they are on the same datacenter. I want to be able to use internal IPs to get better ...
Arnav Gupta's user avatar
3 votes
2 answers
10k views

What username for Login to Console on a Digital Ocean Droplet running FreeBSD 12

As an alternative to making an ssh connection to your Droplet on DigitalOcean, they offer a "Console" which is a VNC connection, akin to plugging a monitor and keyboard into your virtual server. When ...
Basil Bourque's user avatar
3 votes
1 answer
469 views

Verify authenticity of SSH host on Digital Ocean droplet (FreeBSD)

When first connecting via SSH with keys to a newly minted Digital Ocean droplet VM running FreeBSD (per this tutorial), we get a message about “The authenticity of host blah-blah can’t be established”....
Basil Bourque's user avatar
3 votes
2 answers
495 views

Using certbot DNS authorization with multiple API accounts?

I'm using EFF certbot ACME client to generate a single TLS certificates on my webserver that is hosting multiple domains using Subject Alternative Names (SAN). Up until now all of the domains where ...
Guss's user avatar
  • 2,760
3 votes
1 answer
5k views

Do I have to restart my server after changing settings.py?

I have a django app hosted on digitalocean with gunicorn and nginx. I have just changed something in settings.py. I have taken my SECRET_KEY and now I stored it in etc/secret_key.txt settings.py with ...
Sven's user avatar
  • 135
3 votes
1 answer
824 views

Why is nginx redirecting to another site when setting up SSL on my new site?

I have a droplet on DigitalOcean, running Ubuntu 16.04, which I started sharing with a friend of mine. He already has a webpage running on the droplet with nginx and today I started setting my ...
Andres's user avatar
  • 141
2 votes
2 answers
2k views

DigitalOcean Network Firewall allowing SSH connections on ports other than only 22

I have a droplet on DigitalOcean with IPv4 and IPv6 enabled. The droplet is behind a digital ocean network firewall with the following rules: Inbound: SSH TCP 22 All IPv4, All IPv6 HTTP TCP 80 All ...
Ouss's user avatar
  • 158
2 votes
1 answer
36k views

PHP-FPM using 100% CPU on a server that has 16 threads

I have a server that has 32 GB of RAM and 16 threads. This server has an API in PHP that receives many requests from other external APIs, I made a configuration in PHP-FPM to support all these ...
Vinicius Aquino's user avatar
2 votes
2 answers
7k views

High memory usage on digital ocean droplet by mysql 8

I have a laravel application which I've installed on a 1GB standard droplet running ubuntu 20.4, nginx, MySQL 8 and php 7.4 The application isn't even live yet and I notice it's already using over 60% ...
adam78's user avatar
  • 119
2 votes
2 answers
245 views

Why do my sub domains point to other sub domains when I disable a site? [closed]

I have a personal server and I use many sub-domains on it. Each sub domain has its own unique SSL cert setup with LetsEncrypt. Each sub domain has its own vhost file under /etc/apache/sites-available/ ...
Frantumn's user avatar
  • 121
2 votes
2 answers
1k views

Why is NTP out of sync on servers that are hosted on Digital Ocean since the daylight saving time?

Since the daylight saving time the Sensu monitor indicates that the NTP of multiple servers that run on Digital Ocean (DO) are out of sync (12.345404ms-98.338222ms): CheckNTP WARNING: NTP offset by ...
030's user avatar
  • 5,971
2 votes
1 answer
2k views

How to make Jenkins agents port available with an Ingress controller on Kubernetes?

I'm trying to setup Jenkins in a Digital Ocean Kubernetes cluster. I'm using a NGINX ingress controller as I want to access my server from a subdomain (jenkins.example.com). Everything is working fine ...
greg_wss's user avatar
2 votes
2 answers
574 views

Digital Ocean server SSH login fault

What I have done created a new digital ocean droplet and Created SSH key based on this guide and during the creation of the droplet I have copied it in I have run the following codes from here ssh ...
sogu's user avatar
  • 223
2 votes
1 answer
2k views

DigitalOcean Droplet and Managed Database with Load Balancer - DDOS Protection

I'll first start off by saying I'm no sysadmin or by any means knowledgable on servers, I'm just a developer tasked with a job of setting up the infrastructure for a SaaS application I'm working on, ...
no.'s user avatar
  • 123
2 votes
1 answer
1k views

Nginx Reverse Proxy Path on Parent Domain from Different Server

I currently have web servers for a web application hosted on AWS and I am planning on launching a blog for the web application, which I plan on hosting from a DigitalOcean server (Nginx) due to its ...
cphill's user avatar
  • 197
2 votes
1 answer
3k views

Kubernetes CrashLoopBackOff after pod create pulling image from Docker Hub

On a Digital Ocean Kubernetes Cluster I am trying to create a pod using a Docker image pulled from Docker Hub but it keeps failing with CrashLoopBackOff and restarting. The image is a Rails app in a ...
markhorrocks's user avatar
2 votes
0 answers
273 views

SSH Connection Closed after changing sources.list

working on a Ubuntu 19.04 Digital Ocean server. After updating sources.list to focal, so I could update repositories and install certbot, I found my self locked out of the server with the message ...
ivangk's user avatar
  • 21
2 votes
1 answer
800 views

Webpacker can't find static assets

I created a Mastodon instance with DigitalOcean's preconfigured droplet which deploys version 5.3.5 of Mastodon on Ubuntu 20.04. I ran the setup wizard, then I immediately upgraded it to v4 of ...
John Skiles Skinner's user avatar
2 votes
0 answers
301 views

Digital Ocean MysQL with high load average but no queries

My website is down because it cannot communicate with my MySQL database. My database is inside the Digital Ocean server. My CPU, Load Average and memory is in the highest values right now: Despite ...
Dinidiniz's user avatar
  • 121
2 votes
0 answers
226 views

“Attempted to use Snappy compression, but Snappy is not installed” on Ubuntu VPS

I have set up a new VPS via Digital Ocean and have installed MongoDB V4.2.8 on an Ubuntu server 18.04 release as per the official Mongo documentation. I'm using Compass version 1.21.2. I have managed ...
DiscoInferno's user avatar
2 votes
0 answers
1k views

Why the download speed becomes slow than before in cloud server (Digital Ocean droplet with Cloudflare CDN)?

A cloud server (Digital Ocean droplet with Cloudflare CDN) runs a Wordpress website that hosts a software download for its visitors. One day, users report that their download only runs with 30kb/s, ...
Zakir Sajib's user avatar
2 votes
0 answers
330 views

Image files corrupted after deployment on nginx

I do not know why this happened. I first pushed my project to github and then git cloned it into my server(digital ocean). On my local machine i have uploaded over 350 images, but after deployment ...
dark's user avatar
  • 121
2 votes
0 answers
178 views

LetsEncrypt unable to authorize

I have setup my server on digital ocean, and followed along with https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-16-04 When I tried to run the ...
Luple's user avatar
  • 121
1 vote
1 answer
289 views

DigitalOcean DNS can new cname record conflict with existing wildcard cname record

I am having an existing wildcard CNAME record that goes like *.example.com. I wanted to add another CNAME record to map from an address like app.example.com to some.example.com. Will this create ...
Kavinda Keshan Rasnayake's user avatar
1 vote
2 answers
53 views

Copy server setup

We host a lot of sites on 3rd party hosts. For each one of these sites, we also have corresponding staging sites - usually on another server by the same host provider. I started using Digital Ocean ...
Haim's user avatar
  • 111
1 vote
1 answer
866 views

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 ...
Frustrated Melly's user avatar
1 vote
1 answer
105 views

Was my new VM hacked?

I just deployed a Digital Ocean droplet and I think it was hacked within 20 minutes of deploying. Basically, I built Nginx from source the only added extra's I installed (outside the dependencies) ...
dylzee's user avatar
  • 111
1 vote
1 answer
4k views

Cannot get Sendmail to work on Ubuntu 18.04.3 (LTS) x64 on DigitalOcean Droplet

I have taken these steps (gathered from numerous posts in this forum and others) to install and configure SendMail on my DigitalOcean droplet, running Ubuntu 18.04.3 (LTS) x64, but I have been unable ...
iSofia's user avatar
  • 113
1 vote
2 answers
3k views

Error in nginx config file

I am following the tutorial on Flask serving with NGINX on Digital Ocean. After I created the following config file for NGINX in /etc/sites-available/mysite: server { listen 80; server_name ...
sooobus's user avatar
  • 113
1 vote
1 answer
170 views

Should I add only 2 nameservers?

My servers were hosted on Azure and now I’m changing to DigitalOcean, so I also need to change the IP my domain points at, to the new server’s. I have configured everything I need DigitalOcean-side ...
tDrakonakis's user avatar
1 vote
1 answer
465 views

configuring TTL from 1800 sec to 86400 sec on Ubuntu, nginx server

I deployed an app to Digital Ocean Ubuntu server. The app is running on NGINX. My Domain registar sent me the messages that "TTL can't be less than 86400 sec on nameservers" It is currently 1800 sec ...
codegirl's user avatar
  • 111
1 vote
3 answers
236 views

Is it possible to setup DNS point to 2 servers, one in Digitalocean another is in Linode?

Is it possible to setup DNS point to 2 servers, one in Digitalocean another is in Linode? I hope the two servers compose a cluster. Your comment welcome
user62414's user avatar
  • 135
1 vote
1 answer
62 views

How to track down company wide connection issues to a specific web location?

I've tried asking on StackOverflow without success so I hope I this community can help me track down this issue. We have a web app that many people in the company need to access. Occasionally the web ...
PeterTheLobster's user avatar
1 vote
1 answer
8k views

Python script keeps getting killed

I run a python script on VPS and I have problem that script keeps getting killed. I had this problem already with 2GB RAM server config, then I upgraded to 4 GB and it seemed to fix the problem (at ...
luky's user avatar
  • 219
1 vote
1 answer
742 views

High CPU Usage on Digital Ocean Web Server

We have a Laravel website which is currently hosted on Digital Ocean (Nginx). The droplet is a 2 vCPUs, 2 GB Memory, 60 GB SSD, 3 TB transfer running PHP 7.4. We are seeing a steady increase in CPU ...
Senate No. 7's user avatar
1 vote
1 answer
2k views

Port 25 won't open on Digital Ocean droplet [duplicate]

I’m trying to set up an email server. I can’t seem to get port 25 to open for me. I literally just did: ufw disable ufw reset ufw default deny incoming ufw default allow outgoing sudo ufw allow 22/...
sangstar's user avatar
1 vote
1 answer
203 views

Subdomain hosted on AWS sometimes doesn't resolve towards 8.8.8.8

Recently we've been having sporadic trouble resolving our subdomain towards 8.8.8.8, so we created a second subdomain for testing, with which we are unable to replicate the issue. Original subdomain - ...
11lll's user avatar
  • 41
1 vote
2 answers
2k views

In nginx - When i set Host header sent to upstream server to $proxy_host the url is changed in the browser to the upstream url

When i set Host header sent to upstream server to $proxy_host i get the the requested page but the url is changed in the browser to the upstream url. ... proxy_set_header Host $proxy_host; proxy_pass ....
Muhammad Ebrahym's user avatar
1 vote
2 answers
821 views

Restoring a Digital Ocean managed Postgres database

We recently moved our database cluster from self-hosted to Digital Ocean Managed Postgres. We would like to rollback the entire database to a recent point in time. The backups are available for up ...
port5432's user avatar
  • 173
1 vote
2 answers
2k views

Digital Ocean Spaces S3: Is it possible to add access-control-allow-origin: * to all requests?

If you curl my image curl -i https://local-spaces.fra1.digitaloceanspaces.com/test.jpg you will see that there is no Access-Control-Allow-Origin header in the response. If you curl like this, the ...
Philipp Mochine's user avatar
1 vote
2 answers
6k views

Nginx conf duplicate issues

I'm very new to server admin. Using Digital Ocean, I recently upgrades Ubuntu from v14 to v16 and now I seem to have issues with Nginx when running nginx -t. Here is the start of my sites-enabled/...
tommyd456's user avatar
  • 113
1 vote
1 answer
391 views

Why do SSH keys work for users `root` & `freebsd` but not `postgres` (database owner)?

I have been using FreeBSD running an a virtual machine at DigitalOcean.com. I use Secure Shell (SSH) from my Mac to remote into a console session on the VM. I used ssh-keygen to create the pair of ...
Basil Bourque's user avatar
1 vote
1 answer
199 views

How did Alibaba find my server and ping my node instence that I just made?

So I just created a new droplet on DigitalOcean and did a http-server in the root directory. 5 minutes later I see this in the logs: GET http://47.99.121.32:39169/Ip/Up?Ip=[my server ip]&Port=...
Ahmed Alharbi's user avatar

1
2 3 4 5