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.

Im hosting a small DB app on my computer, my ip is attributed with DHCP and so Im not too sure on how to provide aces to this page that im hosting with MAMP on a Mac, all computers on the network are Macs.

Is it possible that instead of providing my users with

http://192.168.1.64:8888/myapp

use:

(htpp:)//My_Computer_Name_on_the_Network:8888/myapp

Thank you.

PS. never mind the funny address below, im limited to posting only one url :P

share|improve this question

closed as off-topic by HopelessN00b Jan 14 at 11:02

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions should demonstrate reasonable business information technology management practices. Questions that relate to unsupported hardware or software platforms or unmaintained environments may not be suitable for Server Fault - see the help center." – HopelessN00b
If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

up vote 1 down vote accepted

Don't Macs provide the mDNS service for local intranet lookups? If your computer's name is hostname, mDNS should provide hostname.local to be resolvable from other mDNS-enabled computers on the network. So your URL would become:

http://hostname.local:8888/myapp

Test this from the terminal with ping hostname.local (from a computer other than the one hosting your DB).

share|improve this answer
    
This is correct, my problem is solved, thanks. –  user28606 Dec 9 '09 at 17:27