Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Zillion

macrumors regular
Original poster
Jan 2, 2008
118
126
The Netherlands
Hi

I have Apache running on a small Ubuntu server in my home network. In /etc/hosts it says :

Code:
127.0.0.1     localhost
127.0.1.1     myserver

Now on a PC in my network I can just type http://myserver/ but on my Macbook Pro it can't find the server. If I type http://192.168.1.10/ it can find it. How can I let the Mac also find it?
 
Were you editing the etc/hosts on Ubuntu, or on the Mac. It needs to be done in both places. Also, I think you have a typo in the etc/hosts you provided, the extra '1' on the second line.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.