Archive for the ‘Web Server’ Category

Running Your Own Web Server


This article will cover the basics about running your own web server out of your home. However, before I provide some direction on how to go about doing this I am going to give you the “pain points”. I am also going to give you some reasons why running your own web server might not be for you.

Why you don’t want to run your own web server?

If you are looking to sell something online you should look at a business web hosting solution. Two reasons. One, you are not going to be able to harden your server enough to make it secure for conducting business transactions. Second, you need to ensure that your site is available to your customers 24/7/365 or as close to 100% uptime as you can get. With web hosting you can typically get 99% uptime. You are very unlikely to come close to this trying to run your own server. Your uptime will be based on the uptime of your internet service provider. Plus every time you update Windows you will likely need to reboot your machine. And, are you familiar with…

- How to setup and configure a router?
- The difference between a physical and a software firewall?
- Do you know how to setup, configure, and secure a web server?
- Do you know enough about networking to run and maintain a server?

It is certainly within the realm of a fairly technically savvy person to setup and administer their own web server on the internet, but it takes some work, and any claims that it is easy to do should be met with guarded skepticism. This advice is coming to you from someone that ran their own web server on the internet for almost two years.

On the other hand it is pretty easy to (relatively speaking) setup and run a web server against your localhost (127.0.0.1) address. This web server will only be available to you local PC, but can serve as the test platform for your web site.

Some direction on running your own web server

Well, if you have read the last section and are still reading then you are looking for some direction. I am going to be offering information from the perspective that you are somewhat familiar already with the terms I am throwing about. The links I have provided here will go into more detail. Again, setting up and maintaining your own web server is not easy and requires a broad range of technical knowledge.

I will be showing you how to setup the Apache web server on your PC running under Windows. I am running Windows XP – Professional. You can run a web server using Windows XP – Home or Windows 2000. I mention this as any specific guidance I am giving you might vary if you are using something other than XP Professional. Also, I have not tried doing this on any other version of Windows.

Getting the software

You can go directly to Apache and get the webserver. But, what if you want to add blog software, forum software, Php, and other packages that do not come standard with the web server itself? Like I said this stuff is not easy. But wait, I am about to turn you on to one of the most comprehensive web packages available. This web package could probably be installed by your Grandmother without difficulty! All you need to do is download the file (it is a huge 186mb file). Once you download it installation is so simple it is ridiculous. The folks that did this are just brilliant. Most software shops could take a lesson from them in installation and configuration management.

This software comes bundled with blog software, forum software, MySQL database, apache security module and much more. The price is right as well. This site is not really easy to find in the search engines which goes to show that sometimes some of the best stuff on the web is buried quite deep. The url is http://www.devside.net/

Figuring out if IIS (Internet Information Server) is enabled?

I am assuming that you are going to install and use Apache as your web server. As such you need to see if IIS is running on your machine as there might be a port conflict as port 80 is the default port.

Some misc. advice (You may likely need to do a bit more digging to deal with the advice given here.)

Setting up your router

- DO NOT open up your entire DMZ to the internet are you will be toast!!!
- Only open up port 80 and port 23 (if you plan on letting people download stuff using FTP. Note, they can download files using http which runs on port 80).

Port Forwarding
- Find a service like ZoneEdit. This is what I use. It is free for low to medium traffic sites.

Your ISP

- Some ISP’s block port 80. You can still run your webserver, but it will have to be done on another port (81, 82, etc…)
- Some ISP’s have policies that do not allow their customers to run websites. You should read your internet service agreement for details.

Best Practice Document For Web Server Deployment


Network filtering:

Place your web server(s) in a DMZ. Set your firewall to drop connections to your web server on all ports but http (port 80) or https (port 443).

Host based security:

Remove all unneeded services from your web server, keeping FTP (but only if you need it) and a secure login capability such as secure shell. An unneeded service can become an avenue of attack.

Limit the number of persons having administrator or root level access.

Apply relevant security patches as soon as they are announced and tested on a pre-production system.

Disallow all remote administration unless it is done using a one-time password or an encrypted link.

If the machine must be administered remotely, require that a secure capability such as secure shell is used to make a secure connection. Do not allow telnet or non-anonymous ftp (those requiring a username and password) connections to this machine from any untrusted site. It would also be good to limit these connections only to a minimum number of secure machines and have those machines reside within your Intranet.

Configuring the Web service/application:

If you must use a GUI interface at the console, remove the commands that automatically start the window manager from the .RC startup directories and then create a startup command for the window manager. You can then use the window manager when you need to work on the system, but shut it down when you are done. Do not leave the window manager running for any extended length of time.Run the web server in a chroot-ed part of the directory tree so it cannot access the real system files.

Run the anonymous FTP server (if you need it) in a chroot-ed part of the directory tree that is different from the web server’s tree.

Remove ALL unnecessary files such as phf from the scripts directory /cgi-bin.

Remove the “default” document trees that are shipped with Web servers such as IIS and ExAir.

Apply relevant security patches as soon as they are announced and tested on a pre-production system.

Auditing/logging:

Log all user activity and maintain those logs either in an encrypted form on the web server or store them on a separate machine on your Intranet, or write to “write-once” media.

Monitor system logs regularly for any suspicious activity.

Install some trap macros to watch for attacks on the server (such as the PHF attack).

Create macros that run every hour or so that would check the integrity of passwd and other critical files.

When the macros detect a change, they should send an e-mail to the system manager, write a message to logs, set off a pager, etc..

Content management:

Do all updates from your Intranet. Maintain your web page originals on a server on your Intranet and make all changes and updates here; then “push” these updates to the public server through an SSH or SSL connection. If you do this on a hourly basis, you can avoid having a corrupted server exposed for a long period of time.

Write a script to download HTML pages and check against a template, if changes are noted, upload the correct version.

Intrusion Detection:

Scan your web server periodically with tools like ISS, Nmap, Nessus or Satan to look for vulnerabilities.

Have intrusion detection software monitor the connections to the server. Set the detector to alarm on known exploits and suspicious activities and to capture these sessions for review. This information can help you recover from an intrusion and strengthen your defenses.

Technological Revolution,Web Server Hosting


For technology to Grow, Both the software and hardware part of the technology field meets to work in co-ordination. In the long run, this encounter helped in the advancement and Development of map hosting Across the web. It meets Also helped the people to Manage Huge amounts of data very Easily and therefore, it meets Also Reduced the work load on the Workers.

A good web server meets the duty to make sure That the users are Able to Manage all the information and data on their system effectively. The solutions generally Are Offered by the servers on the web for the delivery of GIS data and digital map through the web services with the help of a computer browser. This helps the Clients or the users to handle their massive data from Across the world very effectively. Broke Can Easily accommodate and handle the massive data obtained by mobile phones and wireless Other existing devices.The Internet is a database with qual Deals mapsever hosting The private and the public mapserver mapserver have the maps of the Almost all the Areas. There are Many geo-referencing tools like the GIS mapserver. This tool is an application based on the open source geospatial Which program is generated to support the GIS web server.

Open source GIS helps in hosting Spatial Effective and accurate analysis of the data gathered from That Is Different Locations considered as information points from Across the Globe. With the advent of this open source GIS, this technology no longer remains Limited to one field of technology. It spans Across Other Areas like Engineers, government, commercial and Academic Levels.

The Companies That Are Into GIS hosting make it very convenient and easy for Businesses of Other discipline to access this GIS technology. This prevents the purchasing of the software Which is a very expensive Deal in Itself. With GIS web hosting, Can the government keep a track on the tax map and parcel systems Systems Across a particular location.

The existing GIS server helps the users to share information, Problems and solutions, as this technology Can Manage Large amounts of data got from Different Spatial applications.

Benefits of Using a Dedicated Web Server


The need to have a dedicated server for hosting your website is greatly important. Not many know the benefits and its advantages therefore most businesses do not invest in a webhosting dedicated server.

When you have unlimited traffic coming to your website, that’s great news. It’s proof that your website is doing well by promoting your business online. But unlimited traffic can cause problems. With too much traffic but using a cheap dedicated server with low quality can cause your system to crash, important data lost and files missing. You are exposed to a variety of malicious entries and hacking. What you would need to better sustain and support for incoming traffic to your website is a good dedicated server that is designed with reliability, security and functionality.

Linux dedicated servers is an elements that can make the backbone of a busy online business with high daily website traffic. To any business considering having a webhosting dedicated server is the cost. Money is always a factor. For some prominent webhosting company’s list of Europe dedicated servers, the cost is cheap and requires no separate licensing fees if compared to a Windows Dedicated Server. With a dedicated servers, you can put your budget on the hardware that will become the bedrock of your business.

You need to make sure that you are getting guaranteed service that is rooted to reliability and security. Check their background and find out if they have any problem to run for month and a year the most without a system reboot. Some webhosting server would require a reboot after certain updates or even simple software installations and for a huge business, this is a big deal because it equates to a loss in revenues and profits.

So instead of losing that precious money, it is better to invest in a good and sound dedicated server for your daily business needs. With dedicated software, you can be assured that your website and server won’t be attached by viruses and malware. With the attack by the malicious viruses, not only will you lose money, your business will also lose important data and files and even sensitive information maybe transmitted from the server.

Functionality is also a major issue when dedicated servers are concerned. The HTTP server, the development language, and the database management system represent the building blocks of a web server. Apache, PHP, and mySQL fill these requirements and, while by far not the only options, they are the most common combination (known as LAMP) and they all run efficiently in a list of Europe Dedicated servers’ environment. This results in not only confirmed security and reliability, but good stability and performance.