WordPress in IIS7
Slickhouse.com has been running on a dedicated Windows Server (2003) with Internet Information Services (IIS6) for nearly 6 months now - without any issues.
The initial setup proved to be a big headache, as PHP wouldn't play ball with my network setup. But after many hours of trying, I finally cracked it and migrated all of my Linux (shared) hosted sites to my very own server(s).
With the arrival of Server 2008, Microsoft has introduced IIS7 - which proves to be feature rich and secure. In most cases, I'd stand by the philosophy:
If it isn't broke, don't fix itBut in this instance, upgrading to IIS7 would be beneficial, no only for the aformentioned improved security, but also (hopefully) a performance gain.
Microsoft has greatly improved its online resources over the recent years, with IIS gaining its own site. There are plenty of tutorials, including the following:
Follow the first and you'll successfully end up with a working PHP platform, on top of which you can install WordPress. In my case, MySQL is on a separate dedicated server - but it would also work locally.The second article is vital for the permalinks that WordPress uses. A default install uses a crude URL with QueryString parameters (i.e. /index.php?post=123), but permalinks enable friendly URLs such as /2009-04-24/wordpress-in-iis7/
There's not much else needed and from my initial testing, Server 2008 and IIS 7 play ball very well with PHP/WordPress. I'll soon be moving all of the sites on my IIS 6 webserver across, allowing me to take advantage of the new platform. I'll keep you updated!
Posted: Friday 24th April 2009, 01:02pm
Categories: Computers and Technology, Slickhouse, Web
Tags: iis, php, server-2008, wordpress
New Hosting!
For the past 5 or so years, slickhouse.com has been hosted on a shared Linux server, provided by UKHost4U.
While the hosting has been good, I've grown out of using a shared web server and all of the limitations that go with it. So, over the past year I've developed my own dedicated web server, with a twist - a) it's Windows and b) it's hosted at slickhouse itself.
For those of you interested in running your own web server, it's actually a fairly straightforward, albeit time-consuming thing to do. And it proved successful - as you are reading this served up by the new server!
The hardware:
- AMD Athlon 3000XP (Barton core)
- 2 x 1GB PC3200 DDR
- MSI K7N2 consumer motherboard
- 4 x 250GB data drives, 1 x 120GB O/S drive
- Yeong Yang cube case
- Microsoft Server 2003 R2 w/SP2 (both host and virtual O/S)
- Virtual Server 2005 (1GB allocated RAM, 100% allocated CPU)
- PHP
- MySQL
- MySQL Administrator for a GUI w/MySQL
- ASP (and .NET)
- Filezilla Server for FTP
- Merak Mail Server
- AWStats for statistics
- Active Perl for AWStats
- IIS 6.0 for web
- GoDaddy for domain registration
- ZoneEdit.com for DNS (dynamic)
- DynDNS for DNS (dynamic)
- Google Mail to collate all of the email
- Smoothwall for router/firewall O/S
I chose to use Microsoft's Virtual Server 2005, as it allows me to run several operating systems on the same machine. Currently the server only has the host and virtual operating systems, but I'll be expanding it with a development server soon. Another advantage to going virtual, is that I can easily copy the whole server from one physical hardware platform to the next. So if a catastrophic failure occurs, I can quickly transfer the image of the server to another hard-drive, or Virtual Server.
This configuration has so far proved to be a lot more beneficial to my previous shared hosting solution with UKHost4U. For a start, I'm in complete control of the whole solution - from domain registration, to configuration of the server itself. Also, it means I'm not limited by the assigned disk space and bandwidth provided with my shared hosting package. My ISP at home is Virgin Media, who over the last week has upgraded me from 4MB/400KB Cable broadband, to 10MB/500KB - they still have an unlimited bandwidth policy too!
So what's required then? I'll start in order of what you see as a visitor:
- Domain registration - to get yourself a name on the 'net
- DNS - to point your domain to an IP address
- Dynamic DNS - to update your DNS with your dynamic IP address
- Firewall/Router - to block and route traffic around your LAN
- Web server (IIS 6.0) - to serve web pages
- Mail server (POP3/SMTP) - to send and receive email
- PHP/ASP - to server dynamic web pages
- MySQL - to provide database(s)
Let me know if you encounter any issues with the new hosting, as I've moved ~500MB from the Linux server across to the Windows server and have most likely missed something from my testing! If anyone is interested in having a site hosted on the new server, then get in touch - as a ZoneEdit account, along with a Domain of your choice is all you'll need. Uptime is currently 39 days and counting...
Posted: Monday 31st March 2008, 01:02pm
Categories: Articles, Computers and Technology, Slickhouse, Web
Tags: asp, dynamic-dns, ftp, hosting, merak, mysql, perl, php, virtual-server, web-server

Feeds
Twitter

