Setting up domain in intranet

Checksum

Discoverer
I'm having difficulties setting up a domain name in my LAN. There is a single server (which runs a WAMP stack) and I need to be able to access it using a domain name (http://example) instead of the IP address. The server runs Win XP, and the clients are either Windows or Mac OSX.

So how do I go about it?
 
When you say domain name - you mean something like - pappupager.com
or - http://192.168.1.7:8080 ?

Because if its the former you are asking about that can't be achieved without a DNS. Because domain name server resolves the name to the IP(ARP). You will have to setup a local Domain name server, since you are on LAN. Now I am not sure if it can be done on xp, google it though.

Installing DNS - remember this is the method for windows 2003

Install DNS
Open Windows Components Wizard. To do so, use the following steps:
Click Start, click Control Panel, and then click Add or Remove Programs.
Click Add/Remove Windows Components.
In Components, select the Networking Services check box, and then click Details.
InSubcomponents of Networking Services, select the Domain Name System (DNS) check box, click OK, and then click Next.
If you are prompted, in Copy files from, type the full path of the distribution files, and then click OK.
Back to the top
Configure DNS
Start the Configure Your Server Wizard. To do so, click Start, point to All Programs, point to Administrative Tools, and then click Configure Your Server Wizard.
On the Server Role page, click DNS server, and then click Next.
On the Summary of Selections page, view and confirm the options that you have selected. The following items should appear on this page:
Install DNS
Run the Configure a DNS Wizard to configure DNS
If the Summary of Selections page lists these two items, click Next. If the Summary of Selections page does not list these two items, click Back to return to the Server Role page, click DNS, and then click Next.
When the Configure Your Server Wizard installs the DNS service, it first determines whether the IP address for this server is static or is configured automatically. If your server is currently configured to obtain its IP address automatically, the Configuring Components page of the Windows Components Wizard prompts you to configure this server with a static IP address. To do so:
In the Local Area Connection Properties dialog box, click Internet Protocol (TCP/IP), and then click Properties.
In the Internet Protocols (TCP/IP) Properties dialog box, click Use the following IP address, and then type the static IP address, subnet mask, and default gateway for this server.
In Preferred DNS, type the IP address of this server.
In Alternate DNS, type the IP address of another internal DNS server, or leave this box blank.
When you finish setting up the static addresses for your DNS, click OK, and then click Close.
After you click Close, the Configure a DNS Server Wizard starts. In the wizard, follow these steps:
On the Select Configuration Action page, select the Create a forward lookup zone check box, and then click Next.

Follow this link - How To Install and Configure DNS Server in Windows Server 2003

Another solution is Dynamic DNS for your IP Address

Though in this case you will need internet connectivity from your local server to the internet. What this will do is create a temp dns entry for your machine. Since we have dynamic ips, you will have to make a new entry each time you reboot the router/gateway in your case.
 
In case you are working with very very small LAN or few PCs, make an entry in host file.

I think, You can also create entries in DNS and IP Forward.
 
^^ Hop this will also help:
Open the DNS Management tool from Administration Tools on your domain controller
Navigate to your DNS zone
Create new 'Host (A)' record
Enter the Host header (i.e. 'SSPAdmin', 'MySite' or 'Intranet') for the site and the IP address of your server
Click 'Add Host' and repeat for each of the three sites
 
Back
Top