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.
240
questions
0
votes
0
answers
9
views
Inertiajs php artisan start-ssr not running for two app on same server
I have two applications that I have deployed to Digital Ocean using Laravel Forge. Both is building using Laravel, Vue, Inertia, Tailwindcss Stack. (inertia 1.0) When I try to start daemon for ...
0
votes
0
answers
11
views
NGINX 502 Error on specific page paths
I've utilized Nginx 404 Not Found when entering a specific url path to help be fix a 404 error that has been occuring when I copy any specific page path of my site into the search bar ( ie "...
0
votes
0
answers
40
views
DNS: 'A' record not updating for subdomain
I recently moved my domain from GoDaddy to DigitalOcean and the DNS records updated successfully. Then a subdomain was created on DigitalOcean called cms.eminenceconstructionlv.com. The NS records ...
0
votes
0
answers
33
views
How does Digital Ocean App issue a certificate on my behalf?
I am trying to understand how this works so that I can maintain it. I do not understand how my digital ocean app was able to automatically issue and serve a cloudflare edge certificate despite CF ...
0
votes
0
answers
45
views
How to serve both static and dynamic content via AWS cloudfront?
I have a site hosted on a digital ocean droplet which serves both static and dynamic content. The static content (e.g. /images, /js, /css, /fonts) is served from an s3 bucket with folders /images, /js,...
0
votes
0
answers
92
views
Multi cloud provider kubernetes cluster pod logs got timeout
Hi all i have master node in digital ocean and worker node in google cloud, nodes are connected using public ip of master node and pods are in running status but when i run kubectl logs i'm getting ...
0
votes
0
answers
45
views
Laravel in php-fpm is not connection to new mysql pods in service of k8s in digitalocean
I have a k8s cluster running in digitalocean. Within this cluster we have several pods running php-fpm (7.4) with a laravel application (v8.18) connected to a number of mysql database replica's.
When ...
0
votes
0
answers
54
views
AWS poor performance compared to DigitalOcean's
Why is my Apache2 server with PHP-FPM experiencing significantly lower performance on AWS EC2 instances compared to DigitalOcean Droplets? Despite similar hardware specifications and configurations, ...
1
vote
1
answer
145
views
Configure apache ssl with load balancer (DigitalOcean)
I'm probably missing something really basic, but I've been trying for some time now to configure an apache server (which serves a wordpress site) for ssl with a DigitalOcean Load balancer.
The load ...
0
votes
0
answers
305
views
shell request failed on channel 0
On the DigitalOcean droplet, I have initiated 4 screen sessions for the Python scripts fetching data via API 24x7 and inserting it in MySQL(installed on the same droplet). After a certain period of ...
1
vote
0
answers
27
views
Redirecting traffic from a server that is down to a static site
I have a digital ocean server that uses cloudflare for DNS. If for some reason my DO server goes down I want to redirect the traffic to a DO static site app. My first thought is to use a Load balancer....
0
votes
1
answer
159
views
How do you obtain $KUBE_CONFIG variable for a bitbucket deployment to a Kubernetes instance on Digital Ocean?
So my company has been in the process of moving our backend application hosting from digital ocean droplets to a digital ocean kubernetes cluster.
However when following the bitbucket pipeline guide ...
0
votes
0
answers
19
views
What are the AWS "equivalents" for these DO products and services?
We are currently running a web application with a Laravel back-end and a Vue JS front-end on DO managed IaaS products:
App Platform
Managed Database Cluster (MySQL)
We are planning to migrate to AWS ...
0
votes
0
answers
103
views
Issue while SSHing DigitalOcean Droplet
I am facing a problem while trying to SSH a DO droplet. It is running 4 Python scripts fetching data via API and storing in MySQL(running on same Droplet). It had no issue when I was running 2 Python ...
0
votes
1
answer
132
views
my nginx server was working perfectly fine and now shows a 502 error
I'm deploying my project,
I had no problem until i decided to buy a domain for my digital ocean droplet
i added the records from my namecheap domain to my droplet
i was working on it then suddenly ...
2
votes
2
answers
1k
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 ...
2
votes
0
answers
102
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 ...
2
votes
1
answer
547
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 ...
1
vote
0
answers
162
views
making all S3 uploads to digitaloceans spaces default to being public
I'm using DigitalOcean Spaces to upload a bunch of files in different directories. In particular, I'm using WinSCP to do the upload via the S3 protocol.
The problem is that, per WinSCP, all the files ...
1
vote
0
answers
219
views
How to create snapshot ISO-image from Ubuntu server?
I intend to run computationally intensive calculations on expensive cloud servers. Setting up the environment (starting Ubuntu server via cloud API, downloading and installing Python/models, ...
1
vote
0
answers
58
views
Tools to narrow down high resource usage on DigitalOcean droplet running WordPress
I run a digital downloads site with Easy Digital Downloads/WordPress on a DigitalOcean droplet. It has always been fast and snappy on the backend admin dashboard. Nothing new has been added in a year (...
0
votes
0
answers
15
views
Plesk my sql database on digital ocean blocking access from local
Currently I have a database in plesk with
Allow remote connections from any host selected.
I've also checked to make sure the mysql server firewall settings allow "all"
I still can't access ...
2
votes
0
answers
194
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 ...
0
votes
1
answer
187
views
Where do I set up an MX record for my Google domain so it points to my email server?
I'm new to networking and servers, so I may be way off track. I have a Digital Ocean server with postfix configured on it. I also have a domain through Google Domains. I want to make it so my mail ...
-1
votes
1
answer
1k
views
Mysql is not starting in UBUNTU 20.4
Mysql fails to start in UBUNTU 20.4. i have no idea what the issue is. Almost i tried everything. nothing worked.
sudo journalctl -u mysql.service -n 100
------------------------------------------
...
0
votes
1
answer
123
views
Multiple WP websites, high availability setup
We are moving to a new production environment and I came up with the following setup. For the 20-25 client websites we have, I wanted to do the following:
DigitalOcean Load Balancer
Two DO Droplets ...
0
votes
0
answers
195
views
Load Balancer vs Floating IP + BGP
I hope someone can help shed some feedback about this or maybe there is a better setup.
I am trying to achieve better fault tolerance and publish to my bank the IP just once.
There seems to be 2 ...
0
votes
0
answers
147
views
express/nodemon server crashing on ubuntu digitalOcean with next js
My server is a 2 GB Memory / 1 Intel vCPU / 25 GB Disk
Each time I restart the server it crashes as soon as a client tries to fetch anything, I'm on Next/Express/Mysql/Node stack , and I'm pretty ...
1
vote
0
answers
124
views
Digital Ocean Space Cors with private files
I am unsure whether I am misunderstanding CORS or whether this is possible within a Digital Ocean Space.
Basically, I want to set a file to private on the DO Space. I only want a certain domain to be ...
0
votes
0
answers
136
views
[ Error reading lock file ./.authorized_keys.swp: Not enough data read ]
I have 2 servers in Digital Ocean with 100% full disk capacity. I didn't notice this at first. but what happens in server number 1. I already exit and my ssh not working because my authorized_keys ...
0
votes
0
answers
43
views
Digitalocean: Loadbalancer toleration kubernetes nodes
Is it possible to use affinity on DigitalOcean LB only for nodes with a tag?
I have already configured three droplets with Istio in DO Kubernetes cluster. So I would like to direct traffic from LB ...
0
votes
0
answers
2k
views
nginx working fine in localhost but show 404 on server
i have a laravel based project that i have to host on digital ocean using docker. docker is working fine on localhost but shows 404 on server but phpmyadmin working fine on server as well which is ...
0
votes
1
answer
301
views
Object Storage vs HDD Block Storage
Currently I am using SSD Block Storage at Digital Ocean which is very costly. When I checked Vultr they are providing HDD Block Storage. Which is cheap.
We have to store approx 700GB of data (Mostly ...
0
votes
0
answers
1k
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 ...
0
votes
0
answers
377
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 ...
0
votes
0
answers
52
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 ...
0
votes
0
answers
174
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 ...
0
votes
1
answer
51
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 ...
0
votes
0
answers
179
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 ...
0
votes
1
answer
587
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 ...
0
votes
1
answer
293
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,...
0
votes
1
answer
120
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 ...
0
votes
1
answer
563
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 ...
-1
votes
1
answer
86
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 ...
0
votes
0
answers
94
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 ...
0
votes
1
answer
181
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&...
0
votes
1
answer
772
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 ...
0
votes
0
answers
797
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 ...
0
votes
1
answer
713
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 ...
0
votes
1
answer
149
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 ...