|Jul 4, 2009, 01:14 AM||#1|
Access MAMP server REMOTELY...
we just installed MAMP on one of our servers and we want to access it remotely via the web - as of right now we can access the console through a VNC client which is way too slow...
Is there a web interface ?
And if so, how do we access it ?
Thanx for your help in advance !
|Jul 4, 2009, 11:00 AM||#2|
If you are behind a router, you need to set up port forwarding.
Choose a port on the router (just use 8888) and tell it to route all requests to port 8888 on your local machine.
Make sure port 8888 isn't blocked by your computer's firewall either. Chances are that computers on your local network can find your site, but internet users can't.
MAMP is not secure and you shouldn't be using it to host a website from home. If you need to show somebody something, that is OK. Once you are done, close the port on the router, and turn back on the firewalls.
|Jul 6, 2009, 04:39 PM||#3|
thanx for your reply.
What I am looking for is INTERNET access to the phpMyAdmin part of the MAMP server.
I thought that would not be a problem since phpMyAdmin can be protected with login etc. ....
When you're on a shared server (with GoDaddy for example) there is always a web access to the phpMyAdmin installed on the server...
Any idea if that is possible with MAMP ?
|Jul 6, 2009, 08:30 PM||#4|
Shared servers usually run linux and are actively maintained by one or more people. They use the command line to perform operations. This is the only way to ensure maximum security.
You can run a server with MAMP and access it from the internet (including the phpMyAdmin portion). But, it's not recommended because it is very insecure right out of the box. For example, the MySQL username/password is root/root by default. MAMP doesn't provide a nice interface to change these settings. (MAMP Pro does but it costs a lot of money, and only covers a few more security settings).
A truly secure system is configured using a text editor. You should know how to edit the http.conf file for Apache. MAMP's version of Apache is horrendously insecure, but is good enough for people to test web applications locally.
If you still insist on using MAMP to run a webserver, you can. You will be able to access phpMyAdmin like you usually do.
If you access MAMP's PhpMyAdmin at home from http://localhost:8888/MAMP/frame.php...FphpMyAdmin%2F you will have to access it as http://255.255.255.0:8888/MAMP/frame...FphpMyAdmin%2F (assuming that 255.255.255.0 is your IP address and also assuming that port forwarding is set up correctly).
You do not need to set up port forwarding if your computer is connected directly to the internet. But, if you are sitting behind a router, you do. This feature may seem like a pain sometimes, but it secures you from the outside world.
If you are interesting in continuing, Google port forwarding. See if you can get some help setting it up (it's a different process depending on what your router is). Usually routers can be configured using http://192.168.0.1 or http://192.168.1.1. This IP address is reserved for your internal network. If you are asked for a password, it is probably admin/blank or admin/admin or user/password or something similar.
In this interface, you can configure port forwarding. You want to take all requests for port 8888 and send it to port 8888 on your computer.
To make it more "secure", use a random port (something that's harder to guess). By default, web servers are run on port 80. So like, http://macrumors.com:80/ will point you to the same place.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Run MAMP from thumb drive?||cprevost||Mac Programming||8||Sep 13, 2011 08:05 AM|
|mac mini server remote access?||jcdavies||Mac mini||2||Oct 26, 2010 01:42 PM|
|Accessing new mac mini server remotely||phil1995||Mac mini||3||Jul 29, 2010 04:46 PM|
|How to manually configure Airport Extreme for HP Mediasmart Server Remote Access?||CLuv||Mac Peripherals||6||Jun 10, 2010 07:37 PM|
|Accessing Mac Server Remotely (not on the LAN)||porterusaf||Mac OS X Server, Xserve, and Networking||2||Oct 26, 2009 10:40 PM|
All times are GMT -5. The time now is 10:00 AM.