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

pm2 shows status “online” but the site is not working

I trying to run an express app (just installed with the default settings) on ubuntu 18 server (on a digital ocean droplet). its works when using "npm start app.js" but when im using pm2 to start the ...
0
votes
1answer
11 views

Nginx not starting exists with error: bind() to 0.0.0.0:80 failed

Recently, I created a Digital Ocean instance and set it up with a basic LEMP stack. I also connected it to a domain with this nginx configuration: server { listen 80; server_name example.com ...
0
votes
0answers
12 views

SMTP Mail Server with Nodemailer, NGINX, and Namecheap

I have been trying to configure NGINX to send an email from my contact form via nodemailer and privateemail.com. So far i have not had any luck. I seemed to have narrowed it down to nginx. I have ...
1
vote
0answers
23 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, ...
0
votes
0answers
19 views

Random high usage of IO causing other apps to crash

I'm getting random high usage of IO which is making my nodejs instance crash. I've tried diagnosing this problem but to no avail. I installed atop as to monitor the usage. I'm attaching the log here ...
-2
votes
1answer
33 views

continuous attack on server nginx

nginx access log There is a continuous attack on server and i am not sure from where it happening. if someone can understand and guide me on this.
0
votes
1answer
58 views

Error 502 Bad Gateway with Cloudflare and DigitalOcean server with Name.com registrar. My site doesn't work

I did some changes in configurations in these hours. Site still doesn't work. My current configuration is: Name.com: I put there the Cloudflare nameservers. DigitalOcean panel: I made that the ...
0
votes
0answers
29 views

Assigning users password protected folders via webapps

I have a website, a Digital Ocean Cloud Server, 2 web-apps and user base of about 4000 (Constant). The web-apps are VSCode like online IDEs with built in terminals, I want to have each user have their ...
0
votes
1answer
35 views

Create SPF TXT for Wildcard Domains

Today I use DigitalOcean as hosting my software. Our platform is a SaaS that sends emails from wildcard domains, example: purchase@subdomain.example.com; purchase@another-subdomain.example.com; ...
0
votes
0answers
42 views

Downgrading digital ocean droplet

I am trying to downgrade my digital ocean plan from $10 per month to $5 per month.That is not possible with resizing from the dashboard since i started with the $10 plan. Now following this link, I ...
0
votes
0answers
24 views

NOTE: failed to empirically measure MTU (requires OpenVPN 1.5 or higher at other end of connection) when OpenVPN server is running version 2.4.4

In an attempt to troubleshoot stalls in our OpenVPN client connetion, I have tried running the client with these settings: sudo openvpn --config client.conf --mtu-test --keepalive 10 60 --verb 11 ...
0
votes
0answers
18 views

Disable FastCGI cache for mobile

I'm using WordPress and different theme for mobile & desktop. FastCGI cache storing only one version. Sometimes it showing desktop version on mobile and sometimes mobile version on desktop. My ...
0
votes
0answers
44 views

Deployed Django 3 project doesn't sees static files

Deployed (on server) Django 3 project doesn't sees static and css files(whole static folder), the local on development machine works perfectly. The guide that I have followed is this. I have et up a ...
2
votes
2answers
61 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 ...
0
votes
0answers
15 views

is it possible to change aws s3 access denied message with nginx 403 forbidden

I am using DigitalOcean Spaces. How do I change the XML access denied page to Nginx 403 forbidden page
0
votes
1answer
89 views

How to properly configure a load balancer using Digital Ocean with Kubernetes?

I'm trying to deploy my app to Digital Ocean using Kubernetes and I went through their tutorial but it is not working. This is my manifest: --- kind: Service apiVersion: v1 metadata: name: my-app-...
2
votes
1answer
182 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, ...
0
votes
0answers
67 views

I am using 'sudo apt-get clean' too often nowadays, how can I avoid using it again?

I have a LAMP server hosted by Digital Ocean that has been running for more than 3 years. I use the server to run an ERP page where users have to log in to do what they need to do. Up until recently ...
0
votes
1answer
33 views

Existing Wordpress Deployment on Kubernetes with Persistent volume returning error 404 on deployment

This is my PVC apiVersion: v1 kind: PersistentVolumeClaim metadata: name: my-pvc spec: accessModes: - ReadWriteOnce resources: requests: storage: 1Gi ...
0
votes
0answers
57 views

Cannot see default Nginx landing page in browser

I am trying to do a simple nginx setup on my DO droplet. Following this tutorial : https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-16-04 After the installation when i ...
0
votes
0answers
14 views

I have tried everything I could think of but nothing is working

I am using a droplet from DigitalOcean I cannot seem to be able to fix the issues I am getting. I have increased the memory available and still I am getting killed processes. I just need to get the ...
0
votes
0answers
89 views

connect() failed (111: Connection refused) while connecting to upstream after changing VPS configuration on Digital Ocean droplets

[error] 16149#16149: *19124 connect() failed (111: Connection refused) while connecting to upstream, client: xxx.xx.xx.xxx, server: website.com, request: "GET /[somePath] HTTP/1.1", upstream: "http://...
0
votes
0answers
28 views

How to resize a disk on CoreOS with Ignition?

I'm setting up a CoreOS host using the Ignition provision utility to mount an external Block Storage volume (XFS) using Systemd moun at Digital Ocean with Terraform. I figured out how to mount the ...
1
vote
1answer
364 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 ...
1
vote
0answers
46 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 ...
0
votes
1answer
88 views

How can I run Multiple Servers on Different Digital Ocean droplets with single domain name server?

I am sorry for the newbie question. Let me help you to understand the complete scenario. I already have 1 droplet at the digital ocean running OpenLiteSpeed server. Here, I am planning to add ...
0
votes
2answers
117 views

Can I limit data transfer within timeframe per IP address?

I'm hosting some relatively large files on my website, and it struck me that it would be trivial for someone to create a script that keeps downloading them over and over again, chewing through my data ...
0
votes
0answers
165 views

Can't login to django admin; throws 502 Bad Gateway

I've succeeded in hosting a django app on a DigitalOcean droplet following this blog post, however I'm unable to log in to the django admin. As soon as I hit 'login' a 502 is thrown and I can't access ...
0
votes
0answers
54 views

Pulling private github repo on Digital Ocean droplet creation

I'm trying to deploy Digital Ocean droplet, which upon creation pulls my private github repo and runs bash script in this repo. I use cloud-config for this: #cloud-config ssh_keys: rsa_private: | ...
0
votes
1answer
314 views

strongswan no start embedder linux

hi there i have some problem with Digi ccimx6ul(embedded linux - yocto project) when i start ipsec using strongswan. I get the following error p/s: i have run success ipsec like this on ubuntu 18.04, ...
0
votes
1answer
36 views

Django app after hosting is not available in the IP address

I followed the docs of digitalocean to host my django app. After spending hours on the same, i was able to host. But the next day when I checked the ip address, it is not available. Also, I cannot ssh ...
0
votes
1answer
332 views

How to upload multiple files from directory to S3?

I have a directory on an Ubuntu, with 340K images, 45GB of total size! Is there an efficient way to transfer them all to an S3 of DigitalOcean? I thought of using s3cmd put or s3cmd sync but I'm ...
0
votes
1answer
76 views

Transfer image files from MongoDB to S3

I have a NodeJS app that stores all of its data, even images, to MongoDB. Now I want to use an S3 to store my app's files (images, 43gb) and so, I need to transfer there all files that I have in my ...
1
vote
1answer
248 views

DigitalOcean: public keys get replaced by an obscure key on every reboot

Whenever I reboot my droplet, the keys in the 'authorized_keys' file under /root/.ssh get deleted and a strange, UNKNOWN key, which I never inserted by any method, nor have I seen even in DO control ...
0
votes
0answers
796 views

Generate SSL on A record subdomain

I have bought a domain on zeit and I've added A rules pointing to my Digital Ocean Droplet IP and I saw that https doesn't work. How can I set up SSL on Droplet which is a subdomain of A record in ...
3
votes
1answer
212 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 /...
1
vote
2answers
136 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 ...
0
votes
0answers
13 views

DigitalOcean Droplet login issue from Linux terminal [duplicate]

I am trying to access my droplet from the Linux terminal using below command: ssh -i /path/key.ppk root@server-IP But it showing error Load key "/path/key.ppk": invalid format root@server-IP: ...
0
votes
0answers
58 views

Let's Encrypt ERR_CERT_INVALID after moving domain to other server

I run my website on DigitalOcean and due to some problemas I installed a new Ubuntu droplet and moved my website there. After changing my DNS settings for the domain I installed a Let's Encrypt ...
0
votes
1answer
64 views

Browser fails to prompt for login credential on first attempt

I have a site set up with a domain name registered with GoDaddy, and hosted on an Apache Digital Ocean droplet, with the GoDaddy name servers pointing to DigitalOcean name servers. The whole site is ...
0
votes
0answers
23 views

Object Level Logging for S3 compatible Storage Systems (Video Stream Traffic Logging)

I do have a small video platform on AWS Beanstalk (Flask Web App) in the German region (I do need German servers due to some regulatory issues). The video files are currently on an AWS S3 object ...
0
votes
2answers
128 views

Am able to ping my domain, but not subdomain (digitalocean)

My main domain (say: example.com) on DigitalOcean is working ok. I've only one droplet in there. Then I created 'a' record under my main domain with another subdomain name (1.example.com). Then, I ...
0
votes
0answers
27 views

NGINX + SSL forwarding my domain1.com to domain2.com on my server

This is driving me nuts. I have 6 websites on the server, but for some odd reason my domain1.com is being forwarded to domain2.com. In the URL bar it still shows domain1.com while serving the domain2....
0
votes
1answer
29 views

CSS & images breaking after mapping application deployed on Tomcat to my domain

I've installed Tomcat 9.0.27 on my Digital Ocean droplet running Ubuntu 18.04.3. I deployed my Java WAR on Tomcat and am able to access it on the URL: http://example.com:8080/app_name I want to be ...
0
votes
1answer
104 views

CWP: Setting up name servers and web panel at new server

I have installed CentOS Web Panel on my digital ocean droplet. I can access web panel using IP, and I have my domain example.com on name cheap. I wanted to: Access web panel using srv.example.com ...
0
votes
1answer
184 views

How to host CloudFlare DNS subdomain at different IP

I'm using CloudFlare for DNS and Digital Ocean for servers. Let's call my website "example.com". It has been working fine. I've now created a second server, which has a different IP. I want a new ...
1
vote
0answers
15 views

Which IP should be used for a DO's managed database MySQL user on a private network?

I have a droplet and a managed database both in the same region and with Private Network turned on. I want to create a database user but I'm not sure which IP should I be using for this new user, ...
1
vote
1answer
335 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 ...
0
votes
1answer
248 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/...
0
votes
1answer
73 views

Running a NodeJS App 24x7

I have a nodejs webapp that connects as a client to a websocket and sends me push notifications whenever certain events occur. It also has functionality to send requests to a REST API based on ...