Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2008-06-26
5
Medium Priority
?
2,116 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 71

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 71

Accepted Solution

by:
Chris Dent earned 2000 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

Ready for your healthcare security check-up?

In the past few years, healthcare organizations have become a prime target for advanced attacks. Does your organization have what it needs to defend itself? Schedule your healthcare security check-up today and download our free Healthcare Security Resource Kit today!

Question has a verified solution.

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

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…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…

926 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