Skip navigation

Need help with my Apache Web Server!

617 Views 2 Replies Latest reply: May 22, 2013 8:30 AM by MrHoffman RSS
elsignature Calculating status...
Currently Being Moderated
May 21, 2013 11:33 AM

Hi,

 

I recently started using my Apache web server on my iMac. I have managed to create a website on iWeb, put it in the WebServer folder and it works fine when I type my I.P address in Safari and same when I type my I.P address in on other computers connected to the same WiFi. I want to make a website for people connected to my WiFi to be able to look at, almost like an intranet. I tried setting up an intranet, but couldnt find a way to do so. So everythigns going okay, but I want people to be able to type in '/intranet' instead of having to memorise my I.P adress. I have managed to make it so when I type in '/intranet' in Safari it works for me, but it doesnt work for others? Please help! Its urgent!

iMac, Mac OS X (10.6.6)
  • jepping Level 1 Level 1 (40 points)
    Currently Being Moderated
    May 22, 2013 3:39 AM (in response to elsignature)

    Hi,

     

    The way you've set it up, probably won't work very stable.

    You need to point other computers to your iMac in their DNS settings to try and find your site which is a lot of work and needs to be monitored constantly.

     

    Best way to go for now, set your iMac to a fixed IP address and then add a bookmark in their browser of choice for all other computers on the network with the "intranet" assigned to it; for instance http://10.0.0.10/intranet/ bookmarked as intranet. That will work as long as your iMac is available on the network.

    That should work ok for now, but consider investing in a more robust setup where a dedicated server with perhaps MountainLionServer makes your life a lot easier.

    Goodluck!

     

    Jeffrey

  • MrHoffman Level 6 Level 6 (11,700 points)
    Currently Being Moderated
    May 22, 2013 8:30 AM (in response to elsignature)

    With OS X systems and iOS devices and other systems with support for Bonjour (mDNS), at least until you have DNS services enabled and configured on your network...

     

    With Bonjour, your web server address is your system name with the Bonjour top-level domain ".local" appended.  If you've named your system "foo" for instance, then type "foo.local" into the address bar of your web browser.

     

    Longer-term, register a domain name, acquire OS X Server package for OS X (as Jepping suggests) or acquire some other opersting system with a DNS server[1], and get DNS services set up on your internal network.

     

    If you want to use the static-addressing mechanism mentioned by Jepping, you'll want to make sure your iMac is using an IP address that is both within the IP subnet you're using and also outside of the address pool issued by your DHCP server, or you'll want to update your DHCP server to always issue the same IP address to your iMac MAC address.

     

    This question is "urgent"?  Um, seriously? 

     

    ———

     

    [1]If you're willing to hand-edit stuff and do some research into the details of the set-up, then IIRC Snow Leopard client did have the various pieces of DNS services latent, but it's entirely manually managed, and involves editing various configuration files.  Using OS X Server is and would be far easier.

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.