|
|
 |
Using
TZO with Windows 2000 Web and FTP
Server
|
| |
Using TZO with Windows 2000 Web and
FTP Server (Continued.....) |
| |
|
| |
Configuring the FTP
Server |
| |
|
| |
You can manage the FTP server
properties through the IIS console as well, or
through Computer Management which you’ll find
in the Administrative Tools folder. We will show you
how to use the Internet Services manager, via the
Administrative tools group. Open the IIS console, by
clicking the INTERNET SERVICES MANAGER as shown
below. |
| |
|
| |
 |
| |
|
| |
The INTERNET INFORMATION
SERVICES MANAGER (click for larger image)
The first thing you should do is configure master
properties for FTP sites. On the Left Pane, under the
TREE Tab, highlight the server name (in this case,
this server name is Win2kAdvanced. (Keep in mind that
this has NOTHING to do with the domain name of your
server/websites) Now, right click your mouse once you
have clicked on the server name as shown above, and
select PROPERTIES.
Select FTP Service from the MASTER PROPERTIES
drop-down list and click the EDIT button. The changes
you configure here will be a template for all other
sites you create. You can change the properties of
any site after you create it. Select your default
properties carefully, and please see the Microsoft
IIS 5.0 documentation/website for more detail on the
individual components and settings. If you cause a
problem or configure something incorrectly, you may
need to reinstall the IIS 5.0 component on the
server.
The first thing to do is to set the number of
connections, or leave it as unlimited. Set operators,
directory security, and your default messages. See
your documentation for the details on configuring
these options.
We will use the Default FTP site in this tutorial.
The Default FTP Site files are located by default in
the \Inetpub\FTProot folder. Place your file (a
sample text file, or a file you wish to share with
friends (Mp3 file for example) in that folder. You
can always check your server by going to your web
browser and typing ftp://localhost or
ftp://127.0.0.1, which should loopback to your
internal server. You can only do this when you are ON
THE SERVER itself. Some browsers may not work with
this.
Once you get your browser test done, you will see
that your FTP server is operational, but not handling
domain names, and folder content properly. We need to
create a new FTP to start with. In this example, we
will use three domain names to play with. These
domains are: WIN2K.TZO.COM, WIN2K.TZO.NET, and
WIN2K.TZO.ORG - If you own your own domain name, and
use the TZO Premiere service, you can use
YOURNAME.COM, in place of the .TZO.COM names in this
example.
Creating a New FTP site:
You now need to need to create additional FTP sites
as needed. In order to get at least one FTP set up
for testing, you need to go to the IIS console,
right-click the server in the left pane and choose
NEW, FTP SITE. (See screenshot
below) |
| |
|
| |
 |
| |
|
| |
Creating a NEW FTP SITE in the
IIS Manager (click for larger image)
IIS will then present a step-by-step wizard to guide
you through the process, prompting for the following
information: If you do not know this information,
don't panic, it can be changed after the initial
setup. Here are the things you need to know for a new
FTP site:
Description: (Screenshot)This is the name that
appears in the left pane of the IIS console for the
site name. You can use any name, but using the URL as
the name will help you instantly recognize sites. So,
in this case, we typed in FTP.WIN2K.TZO.COM
IP address: (Screenshot) You can specify All
Unassigned to have the site respond to all IPs bound
on the server not already associated with a site, or
you can select a specific IP. Leave this alone unless
you are assigning an IP address to each site. In this
case, we assume you have one Dynamic or Static IP on
your server, so leave this alone and on ALL
UNASSIGNED
TCP port: (Screenshot) The default port for
HTTP is port 21. You should change the default only
if your clients know the site’s port and
include it in the URL, or if you are redirecting
clients to the site from another site. Host header:
Host headers let you host multiple sites on the same
IP address and port. Specify the URL as the host
header, such as www.win2k.tzo.com
FTP Site Home Directory: (Screenshot) This is the path of
the website root. By default, Windows 2000 IIS 5.0
installs the IIS FTP directories in
c:\InetPub\FTPRoot\
Since the default website runs here, we created a
folder called MyFTPsites. The path we entered is
c:\Inetpub\MyFTPsites\FTP1-com\
We did this since when we add any additional domains,
they will have their own directories for their files,
all organized under c:\Inetpub\MyFTPsites folder.
Read: (Screenshot) Allows read access
to the site,deselect to restrict reading this folder.
(ON By Default)
Write: (Screenshot) Specifies the
writing access permissions for the site. (Off By
Default)
After IIS creates the FTP site, it appears in the IIS
console, where you can edit the site properties. See
the screenshot below, which shows our domain
FTP.WIN2K.TZO.COM - under the highlighted Default FTP
site. You can start and stop sites by right clicking
on the site and selecting Start, Stop. |
|
|
|
| |
 |
| |
|
| |
Stopping the default FTP SITE after creation
a New FTP Site (click for larger image)
In order to change the properties of this new FTP
site, you can Right Click on the FTP site
ftp.win2k.tzo.com and select Properties. These are
the same properties you reviewed for the global
settings in the beginning of the tutorial, but for
the FTP site ftp.win2k.tzo.com
Modify the FTP files for each of the FTP sites that
you add, and add new FTP sites by repeating these
steps. If you want to add ftp.win2k.tzo.org, then
repeat this exact tutorial with that new domain or
subdomain. If they are to share the same content,
simply point them to the same folder or path, so
they share the same FTP root directory. You can
change permissions, and individual site messages,
read/write access, and even restrict certain IP's
from accessing the FTP site. For more detail, see
your IIS Documentation, or some of the
links/websites below:
Additional Links and Troubleshooting
Information: The first thing to keep in mind
is that these tutorials are here to help get you
started, and by no means should they be used as an
IIS bible, and we urge you to read the IIS
documentation that comes with Windows 2000
Professional and Server, or visit the Microsoft
Website.
Modify the files and logon/exit messages, and
permissions for each of the FTP sites that you add,
and add new FTP sites by repeating these steps. For
example: If you want to add ftp.win2k.tzo.org, then
repeat this exact tutorial with that new domain or
subdomain. If they are to share the same content,
simply point them to the same folder or path, so
they share the same FTP root directory. You can
change permissions, and individual site messages,
read/write access, and even restrict certain IP's
from accessing the FTP site. For more detail, see
your IIS Documentation.
You might also check out this site:
http://www.iisfaq.com
TroubleShooting:
We're sorry but we cannot help you configure your
server, or help you set up your FTP, and Websites.
The first test you should make is to go to
http://help.tzo.com and PING your domain name. Then
see if the PING responds back with the same IP that
your Computer/Router/Cable/DSL modem has. If this
is the case, and it matches, then you've proven
that TZO is working fine. Next, check your server
configuration; it could be at fault. Also see the
TZO FAQ's and test to see if TZO is pointing to
your domain name to your PC/IP address, and if this
is not working, then we can help get your domain
name to resolve to your PC.
If you cannot get your Web or FTP sites to work at
all, then it could be that port 80 and/or port 21
may be either in use or possibly blocked by a
router or your ISP. If the site works internally
and not externally (ie. If your friends cannot
connect from outside, but you can connect from the
LAN), then this means that either a local or remote
router/firewall is blocking the port. Check and
disable any local Security software for your
testing, and you can also check your ports with any
windows PC at http://PortDetective.com
You could also have a misconfigured IIS service,
and removing the IIS service and reinstalling it
could be a last option. This can be done under
control panel, and selecting Add/Remove Windows
Components. Keep in mind that this does not remove
your Folders and files in your Web and FTP
Sites.
|
| |
|
|