Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Need help with my Apache Web Server!

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)

Posted on May 21, 2013 11:33 AM

Reply
2 replies

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

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.

Need help with my Apache Web Server!

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.