You might say «Why do we need to do that at all?» Good question!
- All passwords and credit cards data entered by users on your websites can be exposed to a third party so it would be wise to encrypt your connection using ssl certificate.
- Nowadays it is good practice to use SPDY (speedy) protocol which is an extension to HTTPS protocol and removes the limit of 6 concurrent connection from one browser that persists in HTTP & HTTPS. With that limit removed all static data like images, scripts and styles is loaded simultaneously (much faster).
Ok, as for me I don’t like ftp since I’ve discovered ssh. But not all of my customers have discovered ssh and most of them never will. So when I ask my customers to move to DigitalOcean hosting I probably should provide ftp access to their sites.
Perhaps if you are reading this article you are facing the situation depicted on the picture above.
Usually I get such credential request from WordPress on the local developer’s machines and on servers that I setup manually using SSH. Don’t really remember if I’ve ever faced it on shared hosting accounts that are accessed via FTP.
For the last couple of months two of my customers asked me to clone the sites I made for them. By «clone» I mean that they liked their sites so much that they decided to setup some other sites using the same set of themes and plugins and just change content a bit.
So they asked me to create exact copy of their sites but under different domain names.
This is a step by step how-to.
This how-to is based on the folowing prerequisites:
- You’ve already signed-up at DigitalOcean (if not, grab a link, you’ll get $10 of credit with it).
- You’ve already purchased a domain name and it is directed to ns1.digitalocean.com, ns2…, ns3… (if not, don’t worry, we’ll get to that).
- You can access remote server using ssh (windows users will need PuTTY software, for linux users including Mac OSX it’s a built in feature).
Ok, let’s begin. Continue reading
My friends often ask me,
“How come your site has such a ridiculously small response time?
Only 200ms for WordPress, it cannot be real.”
Ok, my answer is “It can be real”. All you need is to pick best ingredients to make magic happen.