I’ve just moved my site from HTTP over to HTTPS. It’s not a huge deal for something like this, but it’s something which I’ve really needed to do for a while, and something which is becoming more and more popular. For most people this won’t mean much, and for this site it doesn’t amke much difference, but given that encrypting web pages is a simple process, there’s no real reason not to be doing it.
Whilst on my usual rounds on StackOverflow to help spred useful knowledge of computing and web development I came across the following comments on a thread:
Um… mysql doesn’t connect over http… nor to a directory
Neither should it be an url. Usually it’s
localhostor the IP address of the remote mysql server
I noticed today as I was about to start a different article that my website was looking a bit, well, funny. The layout was wrong, some of the colours were off, the whole thing was a mess. Don’t get me wrong, it’s not at the forefront of design, and won’t win any beauty awards, but it looked awful!
Once again I’ve been inspired by a stack overflow question, and it made me think about issues of a shared hosting platform. You know the ones; the “host your site for £2.99 a month” sites. There’s nothing inherently wrong with it (I was using them for a long time until I decided I wanted my own server to play with, and still using one for a different project for the moment), but it brings its own risks. Some of those risks are to do with the infrastructure, others are with the people who are hosted on it.
I’m a huge advocate of taking backups of things. So much so, I’ve got my own home server backing up to “the cloud” with all of my files on it. It needs a bit of an organisational shuffle I think, but the idea is there.
I’ve recently been approached about a project for me to work on, part-time and on the side. This itself isn’t unusual, but it’s one of a very small minority which I think is a good idea and has some promise. I’ll not go into details about it, as I don’t know the full details of what role I would be involved in, and to what extent, but I had a look into it over the weekend and discovered something which probably affects many small businesses initially, and something which could be disastrous for them. Their SEO sucks.
After posting my intention of building a home file server for storing my movies, pictures, music and probably other files, I had to order some new hard drives to give me the space I think I will need. They have now arrived so I get to install those into the case, and then set up the operating system to run everything.
This post is the start of a series on setting up a home file server. There’s lots of them out there, but I wanted to document the process I have gone through so that I have a record of it in future, and so that there is an up-to-date resource somewhere online for doing it.
I spend quite a lot of time on StackOverflow, both in terms of finding answers for something I need, and also for helping people out with their issues. One question I see quite a lot is around security permissions for creating files on the server. Usually these questions are for PHP, and as such I’m going to address this post as if PHP developers are sensible and deploy on a LAMP stack.
More often than not, I see the posts and they have something along the lines of the following:
I’ve set the permissions to 777 but it’s still not working
It makes me want to turn into the Hulk and smash things.
‘Tis the season for change, it seems. And after a lot of chanes with the site and jobs, I’ve had to make yet another change. Namely to my web-hosts.
I orders a VPS with 1 and 1, configured it and set this domain to be transferred to them so everything could be working nicely, just as I want it (and so I could play around with server management). After a week of waiting for the domain to be transferred I thought I would get in touch with them to see whether I had made a mistake, or when the domain was going to be transferred. I got the following response from them: