How do I add an alternative hostname for sever in Windows Server 2003 network?

Hopefully an easy one.
I have a newtwork of three Windows Server 2003 servers. The telephone company handle the DHCP server so I do not have access to this.

However I want to give alternative names to the servers so that users  can enter them in a browser and access a particular server.

E.g. would be great if any users on the network could enter:
Mailarchive (any case)

And be redirected to (example):

192.168.2.3/MailArchiver

(so actually in this case not only different hostname but actually a particular folder as well).

So actually two questions:
1) How do I add an alternative hostname
2) How do I make it also redirect to a particular folder on a particular server on the network (IIS is installed).

Thanks





afflik1923Asked:
Who is Participating?
 
Chris DentConnect With a Mentor PowerShell DeveloperCommented:

It does, just wanted to make sure it was a Web Service you were sending things to :)

The first part you need is a name for each. That's added through the DNS Console (Start / Adminsitrative Tools / DNS).

Add the name you wish to use for each service and point it at the appropriate IP.

The second part is done in the IIS Console (Start / Administrative Tools / IIS).

You will bump into a little difficulty as you can't bind a name straight to a sub-directory on a web site. You'd have to forward it to a web server first, then the web server much redirect to a URL which includes the sub-directory.

That gives us this lot:

1. Open DNS Manager and add a Host (A) Record or an Alias (CNAME) for each desired name.

e.g. SharePoint  Host (A)  192.168.2.1

2. On the Server responsible for the name, ensure that the Site will answer on the SharePoint name.

a. Open the Site Properties
b. Select the Web Site Tab
c. Press the Advanced Button under Web Site Identication
d. Ensure that Host Header value is either blank or contains the name mentioned.

3. Redirecting to a Sub Directory

There are a number of different methods that can be used to redirect to a sub-directory.

You can use ASP / PHP on the Page level (allowing you to keep the number of sites down).
Or you can redirect at the Site level by creating a new site, setting that to reply on the Name (as in Step 2) then forward to another URL (and a different name) which includes the Sub Directory under the Home Directory tab.

Chris
0
 
Chris DentPowerShell DeveloperCommented:

> 1) How do I add an alternative hostname

If it's for a Web Service add a record for the name on your DNS Server (as either a Host (A) or an Alias (CNAME)).

If you require that the requests are sent to individual sites you will need to configure Host Headers for the site in IIS (Properties, General, Web Site Identification, Advanced).

> 2) How do I make it also redirect to a particular folder on a particular
> server on the network (IIS is installed).

Configure Redirection under the Host Directory tab.

Bear in mind this is Web Service redirection, it expects the target to be a Web Service as well. Is that your goal?

Chris
0
 
afflik1923Author Commented:
Where can I find these things in Windows Server 2003? Will it be under Active Directory?

Note this is all on the local network, nothing external.

currenlty for example users can visit

192.168.2.2/MailArchiver to get to the GFI mailarviver program
OR
192.168.2.1/ to get to Windows Share point services.

What I want to do for the network is introduce easier to remember names so they can just type them in.

Does that make clearer sense?
0
 
afflik1923Author Commented:
Chris
This looks excellent and exactly what I need. I'll let you know how I get on when I try later.

Thanks.
0
 
afflik1923Author Commented:
Great. Sorry for delay in accepting answer. Excellent description of options. Thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.