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
0
votes
1 answer

Multiple Wordpress sites on a single droplet / Virtual Host / One site is working, second gives white screen of death. Why? - Digital Ocean

This is not duplicated Post! System information: LAMP installed on Ubuntu 18.04 I have two WordPress websites on Digital Ocean droplet, let's say domain1 and domain2. I set up 2 virtual hosts. My domain2 located on /var/www/domain2 works fine…
0
votes
1 answer

How do I set enviromental varialbes for my ubuntu server?

I have a ubuntu server deployed at digitalocean with gunicorn and nginx to host my django project. Now I want to save my secret key in an env. var. . I searched in the internet and I found that I have to modify a file called .bash_profile but I…
Sven
  • 135
  • 1
  • 6
0
votes
1 answer

How can I use the django shell while the server is running?

I have a django server deployed on digitalocean with gunicorn and nginx. I followed a tutorial, I think it was this one. Because of the tutorial I have django only installed in a virtualenv. When I developed the server, I used to do stuff in the…
Sven
  • 135
  • 1
  • 6
0
votes
1 answer

How to re-attach Persistent Volume?

I've got this PersistentVolume: NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE pvc-01e19eb3-3d62-4772-bd49-1de4f08d5e81 10Gi …
mpen
  • 423
  • 1
  • 6
  • 15
0
votes
1 answer

Deploying React + Spring boot Rest + mysql on one cloud – is it possible?

I have finished by project coding, and now I want to launch it online. I need some consulting about my deployment process. At first I though that I will use the “free using” first year of AWS, but very soon I have understand that each little service…
0
votes
1 answer

AWS vs GoogleCloud vs DigitalOcean – Which one to choose?

There is a growing startup hosted simply on a VPS at the moment. I want to migrate it to a cloud, so I need: Cloud MySQL storage S3-compatible object storage In the future I'll need Docker + k8s Question 1: Which cloud platform should I choose:…
0
votes
1 answer

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 www.example.com; root /var/www/example.com; …
0
votes
1 answer

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 domain points to my server ip. Cloudflare: says that…
0
votes
1 answer

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; Email services like Gmail, Outlook, etc, require SPF…
Tom
  • 289
  • 3
  • 13
0
votes
1 answer

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-load-balancer spec: type: LoadBalancer ports: …
Adam Arold
  • 103
  • 5
0
votes
0 answers

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 people could enter the ERP without a problem and…
Julio Garcia
  • 103
  • 5
0
votes
1 answer

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 storageClassName: do-block-storage This is my…
0
votes
0 answers

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 check for running status using systemctl status…
D_S_X
  • 101
-1
votes
1 answer

How to protect a website with HTTPS using a digitalocean certificate?

I have deployed a website on a Digital Ocean droplet that listens on port 80, i.e. vanilla HTTP. I would like to protect the website using HTTPS, and it seemed like this would be a simple process using DO's Let's Encrypt integration under the…
-1
votes
1 answer

Database hack on ubuntu server

I have installed mysql to an ubuntu (Digital Ocean) server. There are no any extra security layers. Just basic installations. Recently it was hacked and deleted with only one table which has the following message: To recover your lost Database and…