Democrat622 said:
Hi, all!
I've just installed and registered for service with
no-ip.com "the dynamic dns leader" and moved my website to the "sites" folder in my home directory. I've fired up apache, and I have no idea of wht to do from here. I want machine to be safe, usable as my everyday machine, and I want to host my own website for FREE!
What do I do?
Thanks a billion!
😀🙂😀🙂😀🙂😀🙂😀🙂
Well, I'm partial to
DynDNS, but the advice is the same as to how to set up Apache.
First, go into System Preferences...->Sharing and turn on "Personal Web Sharing". That'll open up port 80 in the firewall (you do have your firewall turned on, right?).
Next, go to System Preferences...->Network, select your network interface (hopefully, Built-in Ethernet, but Airport will work fine) and choose the TCP/IP tab and set it to "Using DHCP with manual address" and enter in an address - the current one will be fine, you just want to make sure your Mac is always at the same internal IP.
Next, make sure you've set up your router to forward port 80 to your Mac's address.
By default, access to your Mac will use /Library/WebServer/Documents/index.html, so change the /Library/WebServer/Documents folder to serve your pages, and you should be fine. A lot of people have had issues using the Sites folder for external access, but some haven't, so maybe that'll work for you. It all depends on how Apache is set up.
A little digging into Apache docs will let you do all kinds of things - use ports other than 80, use folders other than /Library/WebServer/Documents, link to external drives, check access logs, etc.
But this should get you started.