Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have developed a web application which will be deployed in a LAN environemnt. Clients will be Computers/Android Tablets/IPAD

In order for communication between client and local server

1) need to assign a static IP to local server. 2) need a domian name mapping for that IP address in Local environment. 3) router should assign the same static IP if it gets restarted etc.

I am using a windows XP machine as Local server OS.

Do i need to take care of router configurations before buying one, or all routers will have same capability to perform this task.

I am not a network specialist, so Sorry if this question sounds stupid.

Thanks

share|improve this question
1  
I would strongly suggest developing or incorporating existing discovery mechanisms so that it doesn't matter what IP your server gets, clients can always discover the new address when they go to connect. I strongly suggest basing this on existing protocols and libraries, and documenting its functionality well for your clients. –  Chris S Nov 27 '12 at 2:37

2 Answers 2

Consider buying router hardware on which you can install OpenWRT or a similar Linux or BSD based free software firmware. On that firmware you should configure the dnsmasq daemon which implements the Dynamic Host Configuration Protocol and the Domain Name System. The DHCP server part can serve both dynamic IP-addresses and static ones by hostname or MAC-address (static leases). All hosts that are configured via DHCP can be regististered in the internal DNS server automatically to make their names resolvable in the local network.

share|improve this answer

One configuration you may wish to implement, assuming your server is switched on 24/7, would be to turn your local machine into a DNS server. You could run a virtualized linux installation with BIND installed, with network bridging configured on the virtual machine network interface. I highly recommend VirtualBox.

There is a risk, however, that when the hardware goes down your network loses the lone DNS setting. To prevent that, ensure that you have at least two DNS servers set on your router interface with the primary being the IP of your developer machine. Also ensure that non-standard domain names are being set for your developer machine as using domain.com might conflict with existing internet DNS records.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.