Questions tagged [digital-ocean]

DigitalOcean is a provider of cloud infrastructure and services. ONLY PROGRAMMING QUESTIONS ARE ON-TOPIC (e.g. questions about programming for the DigitalOcean API). Questions about DigitalOcean the company, administrating systems, customer service based question, etc. are off-topic for Stack Overflow.

DigitalOcean is an American cloud computing provider based in New York City.

The company leases capacity from existing data centers, including sites in New York, Amsterdam, San Francisco, London, Singapore, Frankfurt, Toronto, and Sydney. DigitalOcean allows users to quickly create virtual private servers, called "droplets" (), Kubernetes clusters (), and serverless Functions ().

DigitalOcean is highly accessible to students through the Github Student Education Pack. The company also publishes community tutorials on a variety of open source technologies.

Useful Links

3938 questions
1
vote
2 answers

permission denied when logging in to mysql, but able to login from cmd digitalocean

I have created a droplet with digitalocean and installed mariadb using the apt install mariadb-server command. Now I want to connect to my server using php and I use this: mysqli_connect('localhost', 'root', ''); The problem is I always have Access…
JDOE4124
  • 55
  • 4
1
vote
1 answer

Apache VirtualHost not pointing to correct subdirectory

I am a newbie to apache and server setup. I am migrating several sites from GoDaddy to a DigitalOcean VPS droplet. I am moving my first site over (a Wordpress install) and am having some trouble with VirtualHost. Here is the configs:
ncox85
  • 75
  • 1
  • 9
1
vote
1 answer

rake db:migrate error in digitalocean

[root@centos-512mb-nyc3-01 dc]# rake db:migrate rake aborted! NameError: uninitialized constant RDF::DC /usr/local/rvm/gems/ruby-2.3.1/gems/rdf-2.2.3/lib/rdf.rb:65:in `const_missing' /root/dc/app/models/concerns/work_metadata.rb:10:in `block in…
1
vote
2 answers

Digital Ocean clone droplet with Rails 5 app deployed with Capistrano

I lost the access to a droplet where I am running a rails 5 app that I've deployed with Capistrano. The stack of technologies I am using is -Ruby 2.3.0 (RVM 2.9.1) -Rails 5.0.1 -Puma -Capistrano 3.7.2 (the first time I deployed the app I've used…
agusgambina
  • 6,229
  • 14
  • 54
  • 94
1
vote
0 answers

How to route ports between docker containers on ubuntu host

I'm making a JQuery Ajax call from React frontend to an Express backend. Frontend is served by nginx on port 80, backend is listening on port 3000. The call from react to express looks like this $.ajax({ url:…
user159815
  • 11
  • 1
1
vote
1 answer

Not able to deploy on digitalocean with dokku

I am trying to deploy my rails application with dokku on Digital Ocean (I have $20 plan, which has 2 CPU) with new feature i.e. mailman, which is suppose to check/retrieve mail every 5 mins. Below are the configurations I am having: Procfile web:…
Dusht
  • 4,712
  • 3
  • 18
  • 24
1
vote
1 answer

"Clone" vagrant box to development server

I use vagrant in my development machine (LARAVEL HOMESTEAD). I wonder how to set up my production server (ex digital ocean) exactly like the vagrant box. Maybe convert de vagrant file in a shell script...
1
vote
2 answers

How do I enable remote access in Elasticsearch 5.2.0 from selected devices/computers only?

Currently, I am running elasticsearch 5.2.0 in my digital ocean server.To remotely access the rest apis of elasticsearch, I made following change in config/elasticsearch.yml file: network.host: 0.0.0.0 With this change, I am able to access the…
oblivion
  • 5,928
  • 3
  • 34
  • 55
1
vote
0 answers

Error 500 when PHP attempting to access sqlite DB in /var/

I'm attempting to set up a site which uses sqlite3 on a Digital Ocean droplet (I have SSH root access) and I've created a /var/databases/myapp directory on my Ubuntu VPS to store the sqlite3 db. However, after uploading a PHP script to test DB…
Marcatectura
  • 1,721
  • 5
  • 30
  • 49
1
vote
2 answers

Calling Wordpress rest api

I'm currently working on application where I want to use data from my blog which is hosted on digital ocean. I have installed wordpress for the blog on the server with domain name abc.com. I have to call wordpress rest api to get data without…
baldraider
  • 1,049
  • 2
  • 18
  • 48
1
vote
1 answer

How do I fix hostname resolution on DigitalOcean's Ubuntu Docker 16.04 server?

I don't know what happened, but I lost all hostname resolution on my DO Ubuntu server. What do I need to look for? Searches on Ubuntu 16.04 aren't helping as those are all about NetworkManager which doesn't exist in their…
guice
  • 976
  • 4
  • 11
  • 31
1
vote
0 answers

What are default credentials for docker cloud Ubuntu node?

I created a Ubuntu 14.04.5 x64 node on Digital Ocean via Docker cloud and deployed couchdb service on this node successfully. However, the service is not available with http://:5984/_utils/config.html url. I wanted to connect to Ubuntu node via…
1
vote
1 answer

Digital Ocean LAMP stack not working

I created a Ubuntu 1GB/30GB Droplet with Ubuntu 16.10 x64 MYSQL: mysql Ver 14.14 Distrib 5.7.16, for Linux (x86_64) using EditLine wrapper APACHE VERSION: Apache/2.4.18 (Ubuntu) PHP: PHP 7.0.13-0ubuntu0.16.10.1 (cli) ( NTS ) Created SSH Login for…
Nicholas Ritson
  • 869
  • 4
  • 13
  • 30
1
vote
0 answers

MEAN App - Questions on Static Files - restricted API access

I've developed a MEAN webapp. So I have an API driven by Node.js and Express. The DB is hosted with mLab. The API is then used by the Angular website, which sits in a static files folder that I have defined in my server.js file…
userMod2
  • 8,312
  • 13
  • 63
  • 115
1
vote
1 answer

godaddy www. not working

I got a domain name with godaddy - http://craberg.com , and I point it to my server which is on digitalocean.com , I use easyengine.io to easily install wordpress , also I use nginx NOT apache, so the problem is that when I go to http://craberg.com…
Mikail G.
  • 454
  • 5
  • 19
1 2 3
99
100