Moving to Digital Ocean – The beginners guide

Ernest Marcinko Blog, Hosting, Tutorials 4 Comments

A few weeks ago I made my decision to move from my hosting company. I couldn’t handle constant down times, unanswered tickets. I figured I should step up my game and take my virtual private server into my hands – switching from managed to non managed VPS hosting. Digital Ocean seemed like a good choice. You can access their website at: digitalocean.com …

Swap file – Beginners guide to Digital Ocean

Ernest Marcinko Hosting, Tutorials 3 Comments

If you reached this step, your server is up and running flawlessly. However after gaining some traffic it will run out of memory and some of the processes will fail. To avoid that, we need a swap file. If you need more information I recommend reading the original swap file tutorial on digital ocean. This article is basically a shorter …

Preparation – Beginners guide to Digital Ocean

Ernest Marcinko Hosting, Tutorials Leave a Comment

Managed vs Unmanaged hosting There is a fundamental differences between managed and unmanaged hosting plans. I was convinced for a long time, that managed hosting is the way to go. I was wrong. Yes there is a hassle to move your site and get used to the unmanaged hosting, but it’s worth it. I always look at the bright side …

Droplet Setup – Beginners guide to Digital Ocean

Ernest Marcinko Hosting, Tutorials Leave a Comment

At this point you have everything prepared, got your site completely backed up, it’s time to go. Log in to your digital ocean account, if you don’t have one, you can create quickly on their website: digitalocean.com Creating your droplet What’s a droplet? Droplet is a virtual private server, that’s what they call it at Digital Ocean. After successfully creating your account, …

Mailing – Beginners guide to Digital Ocean

Ernest Marcinko Hosting, Tutorials 3 Comments

Sending mails properly is probably the hardest task to achieve with Digital Ocean. I will present two ways of doing that, and I strongly recommend going with the second one – using a 3rd party SMTP service. 1. way: Sendmail This is the default way, the sendmail service is most likely already installed on your system. Still, run this command …

FTP & SFTP – Beginners guide to Digital Ocean

Ernest Marcinko Hosting, Tutorials 4 Comments

So far we have a running web server with a working database, but we don’t have FTP access. SFTP However we do have SFTP access. How so? The root and the demo user are valid SFTP accounts as well. So if you have an SFTP client like Filezilla or Notepad++, you can use the demo account to upload your files. I …

phpMyAdmin – Beginners guide to Digital Ocean

Ernest Marcinko Hosting, Tutorials Leave a Comment

This step is also optional, but I prefer using phpMyAdmin for database management. So let’s take a break from the file system and install phpMyAdmin real quick. Getting the database root password Before installing you will need the root database password. You should be able to see it if you type in the following command: nano /etc/motd.tail Lost password If …

Virtual Hosts – Beginners guide to Digital Ocean

Ernest Marcinko Hosting, Tutorials 4 Comments

By now we have a working private server with very basic features and a demo user. By default your website is data is accessed from the following directory: /var/www/ So if you open up your server address in your browser the files in this directory are parsed. This is not bad, however if you are planning to use 2 or …

SSH and users – Beginners guide to Digital Ocean

Ernest Marcinko Hosting, Tutorials Leave a Comment

After successfully creating your droplet, you should receive an email from digital ocean with your root credentials. Something like: Now you have your root access to your server. Using however this root access all the time is not safe, so the first thing we are going to do is create another user. For that we need a terminal program, or …