![]() |
Server SoftwareThere are many combinations of different operating systems and servers that it can be hard to know which one to go for. The two most common server configurations are Windows running Internet Information Server (IIS) or a *nix (Unix based) running Apache Server. By knowing more about the server platforms and the server software that can run on those platforms, you'll soon discover that not all servers were created equal. Windows NT and Windows 2000Windows NT servers are starting to become much more harder to find since Windows 2000 replaced it, but since it is essentially an upgrade it is no great loss. Most Windows servers typically run IIS 4 (WinNT) or IIS 5 (Win2000), but it is certainly possible to run other servers such as Apache on the Windows operating system; even if they don't quite work in the same way as on other platforms. One of the main problems with using Windows as your operating system is that there is no sendmail program, which is essential to the running of some Perl scripts (although the better scripts have provided workarounds for this). File permissions are available, although they are much simpler compared to the *nix permissions that some may have grown used to; one permission setting includes all the possible users. Due to the more relaxed attitude on file permissions, and the way that windows associates file types by extension, you may find it much easier to install scripts on a Windows machine since there are no permissions settings or paths to forget about. Password protection is available on Windows systems, however the only downside is that you will need to have access to the actual server itself to implement them (unless you are running Apache). It is always a good idea to hide sensitive data below the main web directory rather than relying on being able to password protect directories from prying eyes. Unix (and Unix variants)Unlike Windows, Unix, and it's many variants (Linux, FreeBSD and Sun) allow the user more control over the configuration of the server and the software that it uses. By connecting to the server using telnet or SSH connections, it is possible to schedule scripts to run automatically (a cron job), edit file and directory properties and permissions, and even debug scripts as they are running on the remote server! Of course, to be able to use your telnet access effectively you should know at least the basics of Unix; unfortunately it is a little more involved compared to using Windows, as Unix operating systems tend to use text based commands as opposed to using a Graphical User Interface (GUI). Because Unix based systems do not need use as many system resources as those running Windows, it tends to be more stable and reliable. Given identical hardware specifications, a Unix system will be more efficient since it does not need the resources that the Windows system would use simply to update and interpret the GUI. If you want more server power for your money, Unix is a good choice; not only does it have more efficient resource management, but being open source, it is the cheapest option anyway! Unix (and it's derivatives) is often the platform of choice for many web programmers that are developing scripts, with many of the scripts making use of the built in Unix program, Sendmail. Due to the open source nature of the Unix culture, there are plenty of free scripts available with many optimized for use on a Unix based server. Internet Information Server (IIS)IIS comes with full support for ASP; other servers do not support it without a 3rd party add on. Chili!Soft ASP is popular for those wanting to use ASP on *nix servers, however there are noticeable differences between the Microsoft version of ASP and Chili!Soft's version, and so it is best to use a Windows server for ASP pages to ensure they work as expected. Perl and PHP will happily work on a Windows machine, although some of the more advanced functions (which are not often used) may be quirky or missing altogether. Most good Windows hosts will offer configuration of the host via some sort of control panel. The more advanced control panels will let you edit settings related to the domain you are hosting, but most should let you change the permissions of a file. The better control panels will let you customize your various error pages and offer password protection for your site. ApacheApache is a popular choice for server software because of its highly configurable nature. Because it is an Open Source server, it evolves rapidly and there are always plenty of volunteers to help find and fix the bugs. The best thing about the Apache server is that you can configure it on a folder by folder basis using the .htaccess file. This contains information about how the folder and the files in it will behave when requested, allowing you to have many custom error pages, password protection and even a way to protect your images from displaying on unauthorized sites! Apache can be confusing to understand how to configure at first, but it is worth pursuing because it is so flexible in the ways that it can be configured; spend enough time with it and you'll be able to get it to do pretty much what you want it to do. If you'd rather not get too intimate with the inner workings of an Apache server, then you might be able to do the configuration using a more user-friendly control panel. This will make the task much easier to understand and may even allow you access to change the behavior of parts of the server you wouldn't otherwise have the permissions to be able to alter. So what Combination should I go for?While it is certainly possible to install Apache on a Windows server, the two most common OS/Server combinations are Apache on *nix and IIS on Windows. IIS will only run on a Windows system at the present time, so having IIS on *nix is not an option.
If you are just starting out and want to know which server is the right choice for further development of your site; then you should base your choice on the features you will want to make use of in the future. Making the right choice early on will save you a lot of hassle; switching server side technologies from one platform to another is not as easy as simply uploading the files and hoping for the best |
|
|
|