Study and configuration of various servers

1.   Study and configuration of various servers.
Every Web site sits on a computer known as a Web server. This server is always connected to the internet. Every Web server that is connected to the Internet is given a unique address made up of a series of four numbers between 0 and 255 separated by periods.for example, 68.178.157.132 or 68.122.35.127.

When you register a Web address, also known as a domain name, such as tutorialspoint.com you have to specify the IP address of the Web server that will host the site. You can load up with Dedicated Servers that can support your web-based operations.
There are four leading web browsers: Apache, IIS, lighttpd and Jagsaw. Now we will see these servers in bit more detail.

Apart from these Web Servers, there are other Web Servers also available in the market but they are very expansive. Major ones are Netscape's iPlanet, Bea's Web Logic and IBM's Websphere.
Proxy server

A proxy server is a computer that offers a computer network service to allow clients to make indirect network connections to other network services. A client connects to the proxy server, then requests a connection, file, or other resource available on a different server. The proxy provides the resource either by connecting to the specified server or by serving it from a cache. In some cases, the proxy may alter the client's request or the server's response for various purposes.

Step 1
First of all you will need proxy servers (proxys) for your Internet Browser. You can get some free proxy servers for test here or you can buy VIP access to have fastest and most stable public proxy servers here.

Step 2
Good! You have proxy server(s), lets say that one is: 210.176.165.168:3128. Now you will need to start Internet Explorer. Click on Tools (circle #1) menu and select Internet Options... (circle #2) in the list as shown below.
                             
Step 3
Move to the Connections (circle #1) tab. At the bottom of the window in the Local Area Network (LAN) settings section click on the LAN Settings... (circle #2) button as shown bellow.

Step 4
First of all check the box labeled Use a proxy server (circle #1) and after click on Advanced (circle #2) button as shown below.


Step 5
Type your proxy servers IP address under Proxy address to use (circle #1) label and proxy port under Port (circle #2) field as shown below. Check the box labeled Use the same proxy server for all protocols (circle #3) as shown below. Click OK (circle #4) button


Now you have successfully setup proxy for your Internet Explorer.
E-mail Server:

Introduction
hMailServer is an email server for Microsoft Windows. It allows you to handle all your email yourself without having to rely on an Internet service provider (ISP) to manage it. Compared to letting your ISP host your email, hMailServer adds flexibility and security and gives you the full control over spam protection. hMailServer is an efficient as well as powerful email server which has variety of features and can be maintained and configured easily.
SMTP
SMTP stands for Simple Mail Transfer Protocol. SMTP is used when email is delivered from an email client, such as Outlook Express, to an email server or when email is delivered from one email server to another. SMTP uses port 25.
POP3

POP3 stands for Post Office Protocol. POP3 allows an email client to download an email from an email server. The POP3 protocol is simple and does not offer many features except for download. Its design assumes that the email client downloads all available email from the server, deletes them from the server and then disconnects. POP3 normally uses port 110.
IMAP

IMAP stands for Internet Message Access Protocol. IMAP shares many similar features with POP3. It, too, is a protocol that an email client can use to download email from an email server. However, IMAP includes many more features than POP3. The IMAP protocol is designed to let users keep their email on the server. IMAP requires more disk space on the server and more CPU resources than POP3, as all emails are stored on the server. IMAP normally uses port 143.


Installing hMailServer
Step 1: Download
The first step is to download hMailServer. The installation program is available for download at http://www.hmailserver.com/

Step 2: Install

  • Double-click on the downloaded file to launch the setup. The first dialog which is shown is the Welcome dialog, in this one, simply click Next.
  • The next step is to read the license agreement. If you don't accept the license agreement, please cancel the installation. If you agree, select "I accept the agreement" and click next.
  • Select the destination folder and click Next. You should select a local drive and not a network folder. It is possible to install hMailServer on removable devices, but you will not be able to run hMailServer from the device on another computer.
  • Select which components you want to install and click Next. On the server, you should install all available components. If you have already installed the hMailServer server on another computer and you want to manage that remotely, you only need to install the Administrative tools.
  • Select which start menu folder you want to place the hMailServer icons in and click Next.
  • After the files have been installed, you need to provide the installation program with a main hMailServer password. The password can be anything you like as long as it's longer than 5 characters. You will need the password later on when performing server administration, so don't forget it. You only need to specify the password the first time you install hMailServer
  • After you have finished the installation, it's time to start hMailServer Administrator (found in the start menu). The first thing which appears is the Connect dialog. This dialog allows you to connect to different hMailServer installations in your network. Normally, you will want to connect to localhost. Select localhost, and click Connect. In the password dialog, enter your main hMailServer password and click OK.

Configuring hMailServer

Connecting to hMailServer

  1. From the Start menu, select hMailServer Administrator
    Now the hMailServer Administrator - Connect dialog is opened. This dialog allows you to connect to different hMailServer services.
  2. Double-click on the "localhost" host name to connect to the hMailServer instance running on localhost.
  3. In the password dialog, specify the password you specified during the installation of hMailServer - the main hMailServer administration password, and then click OK
  4. Now hMailServer Administrator is started.

Domains & Accounts

Every hMailServer domain should be connected to an internet domain. Say that you're the owner of the domain something.com, then you should add something.com as a domain in hMailAdmin. If you wish to use your email server locally then you do not need an internet domain name. Just specify any domain name which would be used locally through LAN.
  1. Start hMailAdmin.
  2. Click Add domain.
  3. Enter something.com as domain name.
  4. Click Save
The next step is to add accounts to your server. The normal setup is to have one account per email address you want to be able to send and receive email from. If you want the addresses webmaster@something.com and info@something.com, simply add this to hMailAdmin:
  1. Start hMailAdmin
  2. Expand the Domains node in the tree to the left
  3. Click on the domain something.com
  4. Click Add account
  5. Enter webmaster as the account address, set the password and click Save
  6. Click on the domain something.com in the tree to the left
  7. Click Add account
  8. Enter info as the account address, set the password and click Save

Specifying public host name

For an email server to work properly, it needs to know its public name on the Internet. This is normally something like mail.something.com. Since there is no good way for software to automatically detect the public host name of the computer where it is running, you need to tell hMailServer what public hostname to use. While it's possible to run hMailServer without telling it its public hostname, some email servers will reject email from you if you don't specify it.
  1. Start hMailAdmin
  2. In the tree to the left, go to Settings -> Protocols -> SMTP
  3. To the right, the SMTP settings are now shown. Click on the Delivery of e-mail tab.
  4. Under host name, enter the public hostname of the computer where hMailServer is running.
  5. Save the change

Configure firewalls

Make sure that any firewall running on the same server as hMailServer is configured to allow incoming traffic on ports 25, 110 (for POP3) and 143 (for IMAP).
Configuring Windows Live Mail (Email client)
  1. Install Windows Live Mail on Windows7
  2. Open Windows Live Mail and go to “Accounts” Tab
  3. Select “Email”
  4. “Add Your Email Accounts” Window will be displayed
  5. Enter the email address and password of email account created in hMailServer
  6. Click Next. Select “Server Type” as POP. In the “Server Address” field enter the address of email server. If you are using a local email server then enter the IP address of computer on which hMailServer is installed.
  7. Click Next and account is ready.
  8. Now you can create, send and receive emails from hMailServer using Windows Live Mail