2022 Developer Survey is open! Take survey.

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
0 votes
0 answers
13 views

Fix 502 Bad Gateway

I have Nginx running on Ubuntu server (digital ocean), I've setup LEMP stack for hosting the Wordpress website. I'm getting 501 Bad Gateway when I try to reach website using the IP address. I see this ...
user avatar
  • 101
0 votes
0 answers
8 views

My cloud config template file does not seem to be working when I use it to boot up a droplet in Digital Ocean?

I'm using Terraform to spin up a DO droplet, using an Ubuntu and Docker image. Checkout below: resource "digitalocean_droplet" "web" { image = "docker-20-04" name ...
user avatar
  • 101
0 votes
0 answers
20 views

What is the difference between the private addresses on eth0 and eth1 on Digital Ocean?

Here is the output of command ip a on my Digital Ocean server: root@ubuntu-s-1vcpu-1gb-blr1-01:~# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 ...
user avatar
0 votes
0 answers
15 views

Script to reassign floating IP address to my other machine running Ubuntu

I have a floating IP(X.X.X.191) assigned to the machine (Y.Y.Y.106) currently running ubuntu. Now I want the same floating IP to be assigned to my other droplet(Z.Z.Z.252). On digital ocean I can do ...
user avatar
-1 votes
0 answers
13 views

having www.domain.com serve up content from digitalocean spaces cdn

Say I have domain.com and I would like it to serve up static content hosted on a DigitalOcean Space. I updated my DNS registrar (GoDaddy) to have ns1.digitalocean.com and ns2.digitalocean.com as the ...
user avatar
  • 275
0 votes
0 answers
30 views

Best Way to Force use of SSL Certificate

When a browser connects to my website by entering it's FQDN the connection is encrypted using the site's SSL Certificate. However it has come to my attention that it is possible to bypass the SSL and ...
user avatar
  • 101
0 votes
1 answer
27 views

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 ...
user avatar
  • 165
0 votes
0 answers
24 views

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 ...
user avatar
  • 1
0 votes
0 answers
22 views

DO web-server CPU at 100% for prolonged period of time

I need to find a reason for this travesty. My CPU goes to 100% for about an hour, 3 and 4 times a day. I have several websites on that server. When I type top -c command it shows that php-fpm is ...
user avatar
  • 103
0 votes
1 answer
69 views

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 ...
user avatar
0 votes
1 answer
20 views

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,...
user avatar
0 votes
0 answers
26 views

Why would a receiving mail server check the DNS A record of the from domain against a blacklist?

Most (all?) of the DigitalOcean network is currently listed on UCEPROTECT Level 3 (again). I know that UCEPROTECT Level 3 is widely regarded as shady and I personally recommend to our clients that ...
user avatar
0 votes
0 answers
28 views

How to use a load balancer for multiple Parse Servers on DigitalOcean?

Right now we have just one droplet hosting a Parse Server (2.8.4) and a Parse Dashboard (1.2.0). The Parse Server uses the built-in sessions, installations, cloud code, and config and uses MongoDB, ...
user avatar
0 votes
1 answer
19 views

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 ...
user avatar
0 votes
1 answer
45 views

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 ...
user avatar
  • 103
0 votes
0 answers
34 views

Can't start MYSQL external mount centos 7

Brand new install on a new DigitalOcean droplet. I am going to run replication into this cloud server from my local network. I was trying to install the same version etc. mysql5.6.50 and then run it ...
user avatar
-1 votes
1 answer
35 views

How can I solve the error to open google chrome on the server?

I have run the command google-chrome on the server and I have got this error. https://i.imgur.com/BmxPj2b.png When I tried this solution. https://i.imgur.com/4G8O6nN.png and I have got this error ...
user avatar
0 votes
0 answers
46 views

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 ...
user avatar
0 votes
0 answers
54 views

Accessing to the Site to Site IPsec VPN with Remote Access VPN

first of all sorry I am a beginner with networking/VPN. We created a Site to Site VPN with Strongswan lets say between server A (our server 10.19.0.0/16) and server B (10.1.0.0/21). I can connect to ...
user avatar
0 votes
0 answers
63 views

http is not working but https working -Wordpress with openlitespeed on DigitalOcean

I Have recently upgraded my website droplet and today i noticed that the https://www.website.com is working fine but http://website.com or website.com is not working, website.com is showing wordpress ...
user avatar
0 votes
1 answer
119 views

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&...
user avatar
  • 101
0 votes
1 answer
206 views

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 ...
user avatar
  • 101
0 votes
0 answers
41 views

How do you set up MySQL master-master replication for my digitalocean host and my laragon localhost?

I created a Laravel web application on my computer using Laragon, then hosted it on Digital Ocean and it works fine. Now, I am supposed to implement a Mysql master-to-master replication for my "...
user avatar
  • 1
0 votes
0 answers
38 views

Start with Jenkins in k8s on Linode / Vultr / DigitalOcean

I'm going to setup a basic jenkins infrastructure to deploy to my website. Very basic stuff. I want some dedicated machines / compute engines for it. So I'm thinking of using a Kubernetes cluster from ...
user avatar
0 votes
0 answers
31 views

My Domain keeps disconnecting from Droplet IP

I recently completed this tutorial on setting up multiple WordPress servers on nginx via this tutorial I have one Domain and four subdomains connected. Each with their server blocks. The issue, I'm ...
user avatar
0 votes
0 answers
111 views

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 ...
user avatar
  • 1
0 votes
1 answer
255 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 ...
user avatar
0 votes
1 answer
29 views

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 ...
user avatar
0 votes
0 answers
519 views

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 ...
user avatar
0 votes
1 answer
316 views

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 ...
user avatar
0 votes
1 answer
308 views

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’...
user avatar
  • 13
0 votes
0 answers
34 views

DO app hosting a site attempting to connect to a DO Droplet hosting an API results in an unhandled rejection

It was suggested to post here from stackoverflow. Here's hoping. There are two components to my application: A DO 'App' which hosts a react website. This website makes requests to: A DO 'Droplet' ...
user avatar
0 votes
0 answers
450 views

Mysql server won't start after changing bind-address

I have two dropplets at digitalocean, one is for http server and another is for database. In mysql config /etc/mysql/mysql.conf.d/mysqld.cnf I have set bind-address to digitalocean private ip and ...
user avatar
0 votes
1 answer
96 views

Fedora 34 Docker Image failing to build due to Disk I/O error (Digital Ocean App Platform host)

I have a Dockerfile which is basically: # syntax=docker/dockerfile:1 FROM fedora:34 RUN dnf --assumeyes install python3 python3-pip python3-gdal Which runs fine locally on various host machines. ...
user avatar
0 votes
1 answer
103 views

Digital Ocean WordPress Memory frequent Spike with less than 100 Traffic

Everything was running perfectly fine, but from last 4 days my site on root domain got high memory usage alerts. I created a same clone site with same Nginx Configs on Subdomain the site is running ...
user avatar
0 votes
0 answers
50 views

Block access directly via IP on Apache server

I have a Load Balancer provided by Digital Ocean that has a public IPv4, which can be accessed via HTTP and HTTPs by any user (there is no way to block at source). To prevent users and scripts from ...
user avatar
  • 217
0 votes
0 answers
31 views

Host app on sub directory of main app

So I have my main site that's built with react and express. Now I want to add a blog part to my site that's built with next.js. However I don't want to host it on something like blog.example.com I ...
user avatar
  • 123
1 vote
1 answer
559 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 ...
user avatar
0 votes
0 answers
148 views

Are the hundreds of /usr/sbin/apache2 -k start processes killing my site proxy from port 80 to 3000

I'm new to server administration. Whenever I systemctl restart apache2 the /usr/sbin/apache2 -k start processes fill up immediately in the hundreds. It seems that after this happens my raw ipaddress (...
user avatar
0 votes
1 answer
2k 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 ...
user avatar
  • 169
1 vote
1 answer
73 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) ...
user avatar
  • 111
-1 votes
2 answers
231 views

Nginx sever 502 [closed]

I know this has been answerd before but none of the solutions worked for me. I installed an update on my digitalocean droplet and then rebooted it only to find my site down with a 502 error. Running: ...
user avatar
  • 123
-1 votes
1 answer
162 views

Set up DKIM , SPF, DMARC and email sends to spam in Hotmail, gmail [duplicate]

I happened to setup Zimbra as our new Client , set up dmarc, dkim, spf, but even at that the webmail by default sends emails directly to spam in Hotmail / Gmail, without even thinking twice. What ...
user avatar
0 votes
1 answer
130 views

journalctl stops working randomly after boot on DigitalOcean droplet

I am building servers from a custom image I made using Packer on DigitalOcean, and I'm having a recurring issue where journalctl doesn't have any logs: # journalctl No journal files were found. ...
user avatar
  • 298
1 vote
1 answer
941 views

Email server with DigitalOcean and Webmin Does not send to Yahoo, Hotmail

I been following tutorials on how to setup my own SMTP server for Email marketing using Digital ocean Droplets and Webmin I came to a point where I have installed the Webmin using PUtty, set up DKIM ...
user avatar
0 votes
0 answers
21 views

Server Requirements for a 2000 visitor Event [duplicate]

I'm hosting a site for a "virtual event" and I want to make I have enough resources on the server. Please can someone confirm the rough requirements for the below: Up to 2000 visitors ...
user avatar
1 vote
1 answer
331 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 ...
user avatar
0 votes
1 answer
5k 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 ...
user avatar
1 vote
0 answers
392 views

Pointing domain to DigitalOcean App Platoform without changing MX records

I am using the newly created App Platform from Digital Ocean. I am trying to point my domain to the server that I created within Digital Ocean. I am told I need to add a CNAME to my domain (since DO ...
user avatar
  • 123
0 votes
0 answers
184 views

Can we use Indian Server as CDN for German Server?

My client is using Hetzner Cloud Hosting. But his most of the users are from India. So in order to improve the speed we are planning to use $5 Digital Ocean droplet (Indian Data Center) as Proxy with ...
user avatar

1
2 3 4 5