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
1
vote
1 answer

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 panel, shows there already present. What is…
1
vote
2 answers

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 to a week According to the docs we cannot directly…
port5432
  • 173
  • 2
  • 5
  • 17
1
vote
2 answers

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 subdomain "staging.example.com" to point to this…
1
vote
0 answers

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, should it be the droplet's public IP or the private…
Ricardo
  • 161
  • 1
  • 3
1
vote
2 answers

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 header is set: curl -H "Origin:…
Philipp Mochine
  • 165
  • 1
  • 12
1
vote
1 answer

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/default which was preserved during the…
tommyd456
  • 113
  • 1
  • 4
1
vote
1 answer

Mysterious internal routing

I'm investigating some anomalies I found on a server I manage after installing Snort IDS. I have ~10 Ubuntu production webservers that are set up with Ansible and regularly provisioned. One of them is displaying very strange routing of…
bugged
  • 11
  • 4
1
vote
0 answers

Odd Apache2 Zombie Mode and Failure

For past few day's I been having some odd issues. This all starter this past Sunday, as per the system logs around 4:00 AM on Sunday morning. I noticed inability to connect to my site and all requests were being timed out. I logged into my…
1
vote
0 answers

Apache2 stopped but still showing 500 error on some browsers

So I'm having an issue where a domain renders properly in one browser, but not in another. In this example, Chrome 74 loads the site fine, but Chrome 76 ends up rendering a 500 error. Here is the thing; when I stop Apache, Chrome 74 renders a…
jrothafer
  • 123
  • 5
1
vote
1 answer

DigitalOcean NGINX Server Port 80 Refused

I am having a really annoying issue with my digitalocean droplet running nginx as my web server. UFW is disabled on it and HTTPS does work, but HTTP using CURL on my mac at home gives me connection refused (port 80)... Here is my configuration for…
Creepinson
  • 11
  • 4
1
vote
0 answers

Ansible Digital Ocean APIv2 too fast?

I'm getting mixed results here provisioning new droplets with some new code. It seems like maybe Ansible is not waiting properly for the server to get an IP address. I have made several attempts to fix it with no luck and putting in some arbitrary…
Atomiklan
  • 549
  • 1
  • 8
  • 16
1
vote
1 answer

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 encryption keys. I deployed the public one copied…
Basil Bourque
  • 851
  • 1
  • 11
  • 22
1
vote
2 answers

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 your_domain www.your_domain; location / { …
sooobus
  • 113
  • 1
  • 5
1
vote
0 answers

Server response time

Someone should please come to my aid before this thing makes me do the unthinkable. How can I have a 16GB RAM, 6cores digital ocean droplet. Running on Wordpress with 34 plugins. Linked to Cloudflare and all caching mechanisms in place. Yet my site…
Atoms
  • 19
  • 3
1
vote
1 answer

Custom subnet for Digital Ocean private networks

Hopefully this is a quick fix that someone can help me out with. I have spun up some droplets & enabled private networking. They communicate with each other with no issues. The current subnet let's say is: 10.12.0.0/24 I would love some help with…
twmbx
  • 13
  • 1
  • 5
1 2
3
16 17