Archive for the ‘Windows 2003 Server Tips’ category

How to install ASPmail on a Windows 2003 Server

September 17th, 2009

How to install ASPmail on a Windows 2003 Server

ASPMail is a component for Windows server environments created by ServerObjects Inc. and is used to send email messages from forms on your website using ASP code.

You can find more information regarding ASPmail at http://serverobjects.com/products.htm. Before the component can be used it first needs to be installed and registered on the server. Once that is done, pages can then be created that contain the appropriate ASP code.

To install ASPMail on a Windows 2000/2003 Server, please follow these steps:

  1. Purchase the license and download the component to the server.
  2. Move or Copy the DLL into the server’s system32 directory (usually c:\windows\system32) for NT or \windows\system for Win95).
  3. To register the component on the system, open a command prompt and perform the following:
    1. change to the directory where you installed the DLL and type: cd\windows\system32
    2. register the component by typing: regsvr32 smtpsvg.dll
    3. exite the command prompt
  4. Make sure your TMP or TEMP environment variable is set up as a system variable. To do this follow these instructions:
    1. Start Control Panel
    2. Double-click on the System icon
    3. Select the Environment tab
    4. View the system variables in the top pane on the form. Do not concern yourself with User variables, the 2nd pane on the form.
    5. If a TMP or TEMP var does not exist
      • Single click one of the variables in the System list
      • Move to the Variable field, select the existing text and overwrite it with TMP. This will not replace the existing variable, it will add a new variable named TMP.
      • Move to the Value field. Enter the path of your temporary directory.
      • Click the Set button.
      • Restart the server.

Connect to a Windows server using Remote Desktop

September 17th, 2009

How to connect to my Windows server using Remote Desktop Connection?

Remote Desktop Connection is a program included with most Microsoft Operating systems that allows you to make a connection to your server. This connection allows you to access your server directly from a remote location, as if you were sitting in front of the machine.

To connect to your server using Remote Desktop connection, please follow these steps:

  1. Click Start, Programs, Accessories, Communications, Remote Desktop Connection.
  2. In the Computer field, type the IP address or hostname of the server you are trying to connect to.
  3. Click Connect. After a few moments the Log On to Windows dialog box will appear.
  4. Enter your user name and password and click OK. The Remote Desktop window will open and you will the desktop of your server.Note: To change your connection settings, (such as screen size, automatic logon information, and performance options), click Options before you connect.

When you are finished working on your server you will need to end the connection. You will need to Log Off the machine. This will free the connection. If you click the X in the corner of the window the connection will stay active. You are only allowed to have two active connections at a time. If you do not logoff properly you will not be able to log in after two connections have been opened.

To log off and end the connection, please follow these steps:

  1. In the Remote Desktop Connection window, click Start.
  2. If you see the option Log off Username select this, otherwise Click Shut Down. This will display the Shutdown Menu.
  3. Select Log Off , and click OK.

How to create a new user on Windows 2003 Server?

September 17th, 2009

How to create a new user on Windows 2003 Server?

The following article describes the steps to create a new user for your server. New Users can be used to log into your server through Terminal Services, added as FrontPage users or configured as FTP users.

To create a new User, please follow these steps:

  1. Log into your server through Terminal Services or Remote Desktop Connection.
  2. Open Computer Management using either method below:
    • Right-click on the My Computer Icon and select Manage.
    • Click Start, Programs, Administrative Tools, and Computer Management.
  3. Expand Local Users and Groups.
  4. Click on Users. In the right window you will see a list of the current users on the server.
  5. Right-click Users and select New User.
  6. Enter the following information:
    • User Name (required): all usernames must be unique.
    • Full Name (optional): the full name of the user
    • Description (optional): a description of the user
    • Password (required): we strongly recommend you use at least 6 characters and mixture of uppercase letters, lowercase letters and numbers for your passwords. For example, ft5yH7.
    • Confirm Password (required): this entry must be identical to the Password field.

    • Set the options that suit your needs:
      • User must change password at next login: if checked, the user must change their password the next time they login. We recommend you uncheck this so that you have full control over the password.
      • User cannot change password: if the first option is unchecked you will be able to set this option. We recommend you check this option so that only the administrator of the machine can modify the users password.
      • Password never expires: controls if the password will expire 30 days. Once the password expires you will need to reset it manually.
      • Account is disabled: when checked, the User will no longer be valid.
    • Click Create to add the new user.

    By default, new users are added to the Users group. This will allow the user to later be configured as an FTP user through IIS or as a FrontPage User. If you wish for this user to have access to the server through Terminal Services or Remote Desktop Connection you will need to add the user to the Administrators group. We do not recommend adding additional Administrative users as this gives more people direct access to your machine.

    To add a user to the Administrators group, please follow these steps:

  7. Right-click the username and select Properties.
  8. Select the Members Of Tab. You will see a list of groups the User is assigned to.
  9. Click Add.
  10. Type in the name of the group, Administrators.
  11. Click OK. You will now see the Administrators group in the list.
  12. Click OK.

How do I configure FTP in IIS?

September 17th, 2009

How do I configure FTP in IIS?

One of the most common, and simplest way to upload information to your server is through FTP (File Transfer Protocol). This allows a user to connect to a specific location on the server without having full access to the server. FTP users can be created with read and/or write access. FTP users can be configured on the server through IIS.

To configure an FTP site in IIS, please follow these steps:

  1. Log into your server through Terminal Services or Remote Desktop Connection.
  2. Create a username you would like to have FTP access to the server. For detailed instructions on creating a new user please see How to create a new user on my Windows 2003 Server?
  3. Click Start, Programs, Administrative Tools, Internet Services Manager.
  4. Open the New FTP Site Wizard:
    1. In IIS 5.0, right click the machine name and select New, FTP site.
    2. In IIS 6.0, expand local machine and right click on FTP Sites and select New, FTP site.

  5. Click Next to begin.
  6. Enter a description for the site. Typically this will be the domain name for the site.
  7. Select the IP address for the site, or if the customer is using name based hosting select [All Unassigned] The TCP Port remains 21.
  8. Click Next.
  9. If you are using IIS 6.0 you will need to set FTP User Isolation. We strongly recommend you select Do not isolate Users.
  10. Click Next.
  11. Enter the path to the directory you wish the user to have FTP access to. This can be the full site directory or limited to a single sub directory.
  12. Click Next.
  13. Set the Access Permissions, Read and/or Write. This will control the access level the FTP user has on the files in the FTP home directory.
  14. Click Next. Click Finish.

Once the FTP site is configured in IIS you will need to assign the FTP user you created to the FTP site.

To assign a user to the FTP site, please follow these steps:

  1. Right click the FTP site you created and select Properties.
  2. Select the Security Accounts Tab.
  3. Be sure Allow Anonymous Connections IS UNCHECKED. We do not allow Anonymous FTP access. This is a potential security risk for the server.
  4. Add the user to the FTP site.
  5. If you are using IIS 5.0, under FTP Site Operators, click Add. Select the FTP user from the Menu and click OK.
  6. If you are using IIS 6.0, right-click the FTP site and select Permissions. Select the FTP user and click OK.

How do I create a new website on windows 2003 server?

September 17th, 2009

How do I create a new website on windows 2003 server?

IIS (Internet Information Services) controls the configuration of each website on the server. There are two types of websites that can be configured, IP based sites and Name based sites. IP based sites require a unique IP address for each website. Name based sites all share the same IP address and use Host Headers to differentiate between each site. If you wish to configure a new IP Based site you will need to contact support and request a new IP address.

To create a new site in IIS, please follow these steps:

  1. Log into your server through Terminal Services or Remote Desktop Connection.
  2. Click Start, Programs, Administrative Tools, Internet Services Manager. This will open the IIS manager
  3. In the left column you will see the machine name. Open the New Site Wizard:
  4. In IIS 5.0, right click the machine name and select New, Website.
  5. In IIS 6.0, expand local machine and right click on ‘Web Sites’ and select New, Website.
  6. Click Next to begin.
  7. Type in a description for the website. This is usually the domain name but can be anything that you prefer to distinguish the site from others.
  8. Click Next.
  9. Type in the IP address of your new site. TCP port should be 80.
  10. If the site is an IP based site you can leave the host header line blank.

    • If the site is a name based site you will need to enter the domain name in the host header line.
  11. Click Next.
  12. Enter or browse to the path where the website will have its root directory. This is the directory where the home page should go
  13. Select the check boxes for the type of permissions you would like.
    • Read: allows your site to be visible through a web browser
    • Run Scripts: allows scripts such as ASP and ASP.Net to be run
    • Execute: allows .exe and .dll files to be run (we do not recommend this method)
    • Write: allows certain browsers to write to files in your website (we do not recommend this method)
    • Browse: if there is no index page, this option will display a listing of all the pages in your folder (we do not recommend this method)
    • Click Next and then Finish.

What are the application settings for a site in IIS?

September 17th, 2009

What are the application settings for a site in IIS?

The following article details the different application settings for IIS 5 and IIS 6. These settings control various functions of the website, including how memory is handled, the starting point, the execute permissions, and many more. Individual folders within a website can be also be configured as applications

The application settings are located on the Home Directory tab within the properties of your website in IIS.

These settings give you control over the name, virtual site origin, file permissions, and memory configurations:

  • Application name: this is the name of your application (you are not required to give your application a name)
  • Starting point: this point represents where the virtual site begins, in either the root of the website or the root of the folder (if the folder is configured as an application)
  • Execute Permissions: these permissions control what types of files the website is allowed to run. You have three options:
    • None: allows you to run .htm and .html files, but no scripting can be done
    • Scripts only: allows you to run .htm and .html files in addition to running ASP, cgi and perl scripts
    • Scripts and Executables: allows you to run .htm, .html, cgi, and perl scripts as well as .dll and .exe files
  • Application Protection: this protection controls how memory is handled for ASP pages and is handled differently depending on the version of IIS you are running

IIS 5.0

Within IIS 5.0, you have three levels of application protection which determine how memory resources are allocated for ASP pages:

  • Low (IIS Process): this level runs ASP pages using the same resources as the web service. The advantage of the low level is that you are given the most permissions and access. The disadvantage is that if the ASP service fails, the web service will be impacted as well.
  • Medium (Pooled): this level allocates a pool of memory resources used by all ASP pages. The advantage of the medium level is that you control the amount of resources allocated. In addition, if an ASP page causes the ASP service to fail, it does not affect the web service. The disadvantage is that if one site causes the ASP service to fail, all of the ASP pages will fail.
  • High (Isolated): this level allocates a specific amount of memory resources for each ASP application. The advantage to the high level is that if an ASP page causes the ASP service to fail, only that specific site will fail and not the other sites. The disadvantage is that additional resources are used by each individual application pool.

IIS 6.0

Within IIS 6.0, you have the ability to create customer application pools based on the types of pages you are running. The application pool controls how memory is allocated, how worker processes are managed, and other such settings. Each site is then placed within its appropriate application pool.

For example, you can create the following 4 application pools and then set each website within the appropriate pool:

  • HTML: memory management is tailored for sites running .htm and .html pages
  • ASP: memory management is tailored for sites running ASP pages
  • ASP.NET: memory management is tailored for sites running ASP.Net pages
  • All Pages: memory management is tailored for sites running a mix of different pages

Adding an additional IP address on Windows 2003 Server

September 17th, 2009

How do I add an additional IP address on my Windows 2003 Server?

If you do not have a webhosting control panel , like Plesk, Ensim or Helm then you need to manually add by following those steps.

The following article explains how to add an additional IP address to your Windows 2003 server. Before you can add an additional IP address you must contact us to request the additional IP address(es). We will supply you with the IP address(es) which you can then add to your machine. If you prefer we can add the IP address(es) to your machine for you.

To add additional IP addresses to your Windows 2003 server, please follow these steps:

  1. Locate the My Network Places icon on your desktop, right click and select Properties.
  2. To open the network properties dialogue, right-click on External or Ext. Select Properties
  3. Select Internet Protocol (TCP/IP) and click Properties.
  4. Click Advanced
  5. Click Add, enter the IP address (as shown) and corresponding Subnet mask. The subnet is always 255.255.255.0 on our network.
  6. Click Add.

If you wish to add more IP addresses, repeat steps 5. and 6. until you have added the IP addresses we assigned to you.

PHP Freelancer