Solved

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

Posted on 2008-06-26
5
1,964 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
ID: 21873082

> 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
ID: 21873153
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
ID: 21873210

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
ID: 21873316
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
ID: 31470896
Great. Sorry for delay in accepting answer. Excellent description of options. Thanks.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

815 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

12 Experts available now in Live!

Get 1:1 Help Now