Setting up a Mac Mini as a server.

Joined
Apr 20, 2007
Messages
91
Reaction score
0
Points
6
Location
Temple, GA
So I just bought a Mac mini to use as my all out entertainment hardware, but I want to set it up as a server as well where when I'm at school I can access the files and upload my websites and other files I work with at school. Also I guess I need to have a static IP address so I was also wondering how to do that. Thanks for the help in advanced.
 
Joined
Nov 1, 2007
Messages
1,217
Reaction score
34
Points
48
Location
Sconie
Your Mac's Specs
15-inch MacBook Pro
I would give it a manual IP address on your internal network. I would then set it up as an FTP server.

This makes that real easy:

PureFTPd Manager for Mac OS X

Do some port forwarding so when anything going to port 21 (FTP) hits the router's external interface it goes to the Mac Mini.
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
Also I guess I need to have a static IP address so I was also wondering how to do that. Thanks for the help in advanced.
You can set a static IP for your internal network (anything behind your router) but how you get your external IP from your ISP is up to them. Either your provider assigns you a static IP or you get it through DHCP.
 
Joined
Nov 1, 2007
Messages
1,217
Reaction score
34
Points
48
Location
Sconie
Your Mac's Specs
15-inch MacBook Pro
You can set a static IP for your internal network (anything behind your router) but how you get your external IP from your ISP is up to them. Either your provider assigns you a static IP or you get it through DHCP.

Exactly. When you run the PureFTPd program it tells you what your external IP is. There is a million ways to get that info, but that is very simple. Mine hardly ever changes. If it does I just use logmein to log onto the machine and see what it changed to.
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
Exactly. When you run the PureFTPd program it tells you what your external IP is. There is a million ways to get that info, but that is very simple. Mine hardly ever changes. If it does I just use logmein to log onto the machine and see what it changed to.
Very true - it can change any time an IP has to be requested from your ISP which is something to note. To the OP, just note that if you get your external IP through DHCP, it may change. It won't change randomly - it will only change anytime your modem requests an IP which won't happen all that much.
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
If you don't need fine grained control, you can always set up FTP sharing through System Preferences > Sharing > File Sharing. Just make sure to click the "Options..." button as the file sharing defaults to AFP and not FTP.
 
Joined
Jul 14, 2008
Messages
365
Reaction score
6
Points
18
Location
Norway
Your Mac's Specs
rMBP 15" / 2.6GHz / 16GB / 512GB
You can get a free domain from here: https://www.no-ip.com/

This way you can access your computer from anywhere using the domain name. A bit more simple than remembering an IP adress.

If you want a webserver up and running I recommend taking a look at: MAMP: Mac, Apache, MySQL, PHP

It was recently upgraded to work with Snow Leopard.
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
If you want a webserver up and running I recommend taking a look at: MAMP: Mac, Apache, MySQL, PHP
While MAMP can get you up and running quickly, note what is listed as their philosophy (emphasis added):
MAMP was created primarily as a PHP development environment for Macintosh computer and should therefore not be used as Live Webserver for the Internet. In this case, we recommend that you use Mac OS X server with the provided Apache or a Linux server.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top