Couldn’t help but to buy myself a two year web hosting service with hostmonster for less than $120. It gives me all I’m looking for, ssh access, mysql database, hosting unlimited domains etc, and I’m also given a free domain name during this period! Have to say goodbye to using my old home PC to host this blog, as switching on this machine 24/7 mainly just to do that is not very environmentally friendly 🙂 And if I continue to do this it won’t be long before I’ll kill PC. In fact recently the PC switched off itself and had problem booting back up again . I initially thought it was about time to dispose of the PC. But turns out that the power supply unit (PSU) was just clogged with dust, no ventilation, overheated and then switched off itself. I gave the PSU a good vacuum and it’s now back up running again. Anyway, I still need the PC to work as a wireless router as well as a file storage system, so don’t really want to f**k that up.The process to transfer this blog to the hosting server was easier than I thought. I only need to copy the whole web directory to the hosting server, set up a new mysql database (user name, password and database name), modify the corresponding mysql parameters in wp-config.php, change the domain name server and that’s it. Easy peasy.
I always have this question in my mind on whether hosting this blog on my home machine is such a good idea afterall. My web server is slow, because the uplink speed of my ADSL connection is only 256Kbps. I have no backup power supply, and my server is not secured from denial of service attack.I recently bought a two-year service with IX web hosting for my travel business project. It’s cheap but the service plan is surprisingly very generous. I get 1,000GBytes allowance for data transfer every month, which should be more than sufficient although I have lots of pictures on my website, and 100GBytes of webspace! When I did my research on which web hosting service to go for, I found that many of them have very limited allowance for data transfer. They may be very cheap, but they charge a lot when the allowance is exceeded (so look carefully at the small prints!). Another thing to watch out for is the customer support. Some web hosting companies have appalling customer support. And some are just resellers. For example they bought a dedicated server service from a web hosting company, and then resell spare capacity to other people. So although their service may be cheap, it’s probably difficult to expect much from them.The only consideration for me when I signup with IX web hosting was that they do not provide secure shell (ssh) access to the web server. But I’m glad it turns out that their web shell service is user-friendly enough. And I can still run scripts using crontab.So looks like maybe I should transfer this blog to IX web hosting as well. BUT, the challenge of administering my own web server is too hard to let go, afterall 🙂
What should normally take 5 minutes to set up ended up taking me days! To be fair to wordpress, if you are using a third party web hosting service, it shouldn’t really take you much time to get wordpress installed and there you can start blogging. I know I should shoulder some blame as well, as I tried to host this website on my home machine, which wasn’t equipped with php and mysql initially. But to later find out that it was actually a simple mistake in the wordpress package that was preventing me from getting this done sooner was absolutely deflating. That closing php tag, which was one short in the install script, was costly because it confused me into thinking, for days, that my web server wasn’t configured to work as required by wordpress, which uses php and mysql. But on a positive note, much was learnt during the process, as is always the case when you play with Linux. Avoid using pre-compiled binaries if you have multiple packages that you want to link together. Compile from source always gives you control over what you want and don’t want.