Solved

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

Posted on 2008-06-26
5
1,937 Views
Last Modified: 2010-04-21
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





0
Comment
Question by:afflik1923
  • 3
  • 2
5 Comments
 
LVL 70

Expert Comment

by:Chris Dent
Comment Utility

> 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
 

Author Comment

by:afflik1923
Comment Utility
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
 
LVL 70

Accepted Solution

by:
Chris Dent earned 500 total points
Comment Utility

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
 

Author Comment

by:afflik1923
Comment Utility
Chris
This looks excellent and exactly what I need. I'll let you know how I get on when I try later.

Thanks.
0
 

Author Closing Comment

by:afflik1923
Comment Utility
Great. Sorry for delay in accepting answer. Excellent description of options. Thanks.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

There have been a lot of times when we have seen the need to enter a large number of DNS entries in a forward lookup zone. The standard procedure would be to launch the DNS Manager console, create the Zone and start adding new hosts using the New…
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now