OK- how do I set this up so my domain name points to my mini?
Are you using a router? If so, simply forward port 80 to the internal IP address of you Mac Mini.
Quote:
How do I make my user's site folder the default site folder in OS X? So you don't have to type the ~usename for the IP address?
I wouldn't use your home sites directory as the default root directory but to do this edit the httpd.conf file found here /etc/httpd/. Edit the file and look for this pattern "DocumentRoot "/Library/WebServer/Documents. Change the directory to /home/<YOUR USER>/Sites. Restart the webserver under System Prefs => Sharing.
If you want to see your home site directoy in the main root without editing your httpd.conf simply create a symbolic link like this "ln -s /Users/<YOU USER>/Sites /Library/WebServer/Documents/Sites" or creat a alias in the httpd.conf like this
Most cheap routers don't give access to your computers via it's external IP. Only people on the other side of your router can get to that address. On your side of the router, you'll need to use the local ip address.
Comments
Originally posted by tacojohn
OK- how do I set this up so my domain name points to my mini?
Are you using a router? If so, simply forward port 80 to the internal IP address of you Mac Mini.
How do I make my user's site folder the default site folder in OS X? So you don't have to type the ~usename for the IP address?
I wouldn't use your home sites directory as the default root directory but to do this edit the httpd.conf file found here /etc/httpd/. Edit the file and look for this pattern "DocumentRoot "/Library/WebServer/Documents. Change the directory to /home/<YOUR USER>/Sites. Restart the webserver under System Prefs => Sharing.
If you want to see your home site directoy in the main root without editing your httpd.conf simply create a symbolic link like this "ln -s /Users/<YOU USER>/Sites /Library/WebServer/Documents/Sites" or creat a alias in the httpd.conf like this
Alias /Sites/ "/home/<YOUR USER>/Sites/"
<Directory "/home/<YOU USER>/Sites">
Options Indexes FollowSymlinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Originally posted by dfiler
First you'll need a static IP... without that you'll need a dynamic dns service to point to your dynamic IP.
yeah- I got a static IP
And I got everything working now except making my domain forward to my home page...
http://35.11.19.28/
I have the name servers put in were my domain is registered, but it doesn't work...
www.johnellenich.com
?????