I did this for performance reasons as the shared web host had degraded over the course of several years, and additionally I wanted control over what was installed on the machine just like when at work.
Due to low traffic and budget constraints I'm running the VPS as a web server (IIS), DB server (SQL Server Express, and MySQL) and an SMTP server. Here are my notes regarding the server installation and configuration so I can do it again fairly quickly if needed.
NOTE: these details were accurate at March 2010, newer versions and service packs are probably available now.
VPS Configuration
Windows Server 2003 R2, 64 bit
IIS 6
1GB RAM
10GB disk space
Parallels Power Panel
Full remote desktop access
General Utilities Installed
7zip, notepad++, Winmerge and Sysinternals Suite
Web Platform Installer
Used the WPI to install: .NET FW 2.0 .NET FW 3.5SP1, MVC 2.0
Database Servers
MySQL:
- MySQL Community Server
- MySQL GUI Tools 5
- Install guide: Install and Configure MySQL 5 on Windows (non-strict mode)
SQL Server 2008 Express:
- Windows Installer 4.5 Redistributable x64 (Required for SQL 2008)
- Windows PowerShell 1.0 x64 (Required for SQL 2008)
- Microsoft® SQL Server® 2008 Express with Tools
- SQL Server 2008 Service Pack 1
SMTP Mail Server
hMailServer:
- hMailServer Download
- Guide: Setting up your own email server with hMailServer
- Guide: Quick set up
- Docs: Configuration tutorial
- Finally, testing for Anonymous Relay
PHP5 on IIS6
- Download latest PHP For Windows (following notes based on v5.3.x)
- If you are using PHP with IIS you should use the VC9 versions of PHP (Microsoft 2008 C++ Runtime (x86) or the Microsoft 2008 C++ Runtime (x64) installed)
- Since PHP v5.3 uses FastCGI we should use the non-thread safe version of PHP (php-5.3.2-nts-Win32-VC9-x86.zip)
- Download FastCGI for IIS (Note: can use FastCGI x64 with php x86 ok, see this thread: FastCGI x64 glitch)
- Guide: Installing FastCGI and PHP for IIS 6.0
- Guide: Installing PHP 5 on IIS in 5 simple steps (v5.2 only)
- Guide: How to install PHP 5.x on Windows Server 2003 with IIS 6
- Windows Server x64 specific config: PHP on 64 bit Windows (fixes "%1 is not a valid Win32 application" issue by allowing IIS to run 32 bit apps. Here is the command: cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1
Web Mail
roundcube (PHP application):
- Download roundcube
- Guide: Install and configure RoundCube Webmail on IIS
- Guide: Install Roundcube with IIS6 and hMs internal DB
- Guide: Installation
- Guide: Configuration
Yep, that's it, too easy really. Overall I'm pretty happy with Web24 - faster than the old shared hosting, and (almost) complete control over the environment. Only downside is a few more sysadmin tasks.
Next thing to do is switch to Server 2008 with IIS 7.
Next thing to do is switch to Server 2008 with IIS 7.
Wow, What a Excellent post. I really found this to much informatics. It is what i was searching for.I would like to suggest you that please keep sharing such type of info.Thanks שרת וירטואלי
ReplyDeleteI felt very happy while reading this site. This was really very informative site for me. I really liked it. This was really a cordial post. Thanks a lot!. whrmarketing
ReplyDeleteI like your post. It is good to see you verbalize from the heart and clarity on this important subject can be easily observed... mélybölcsős fuvarozás Europa-Road Kft
ReplyDeleteGreat survey, I'm sure you're getting a great response. virtual sales training
ReplyDeleteIf you are looking for your first web hosting provider, you may notice that different web hosts offer two different kinds of web hosting- one is Windows Hosting and the other is Linux Hosting. You may or may not have the knowledge about the differences between the two hosting platforms. Probably the question "Does this difference matter that much?" might come in your mind. https://onohosting.com/
ReplyDeleteI think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article. lifehack
ReplyDelete