Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to open a website hosted in MAMP on the Mac?

Tags:

macos

mamp

I've installed MAMP on my Mac. Then, I put my website into the htdocs folder of MAMP. I started the Server. But how can I launch the website in Safari now? What's the URL to the website, when it's named "testsite" for example?

like image 618
openfrog Avatar asked Oct 06 '10 15:10

openfrog


People also ask

How do I open a website on MAMP?

To start the MAMP Apache and MySQL servers, simply click “Start Servers” from the main MAMP screen. Your MAMP servers have now been started. Once the MAMP servers start, the MAMP start page should open in your default web browser. If not, click on “Open start page” in the MAMP window.

How do I open a MAMP file on Mac?

To install MAMP on your Mac go to: https://mamp.info and click on the Free download button. Next, click on the Apple logo to start the download. Once the download has completed, go to your Downloads folder and double-click on the package file to start the installation. Follow the instructions to install MAMP.

How do I access localhost in MAMP?

To access your localhost on another Mac on your LAN, you need to type in it's Local Hostname. To find out the Local Hostname of this Mac, go to System Preferences > Sharing > Edit . Now you can access your hosts from a different Mac on your LAN. Input :8888 as a suffix in your url bar to see the localhost.

How do I access PHP in MAMP?

There is a separate php. ini file for each of the PHP versions present in MAMP. You can find it here (where “x.y.z” stands for the corresponding PHP version): “/Applications/MAMP/bin/php/phpx.


2 Answers

If it is named "testsite.html" then it will be at

localhost:8888/testsite.html

Good luck with the MAMP fun that should ensue!

like image 107
Braden Avatar answered Sep 28 '22 09:09

Braden


Have you tried localhost:8888? See Installing MAMP for more details.

like image 44
Skilldrick Avatar answered Sep 28 '22 08:09

Skilldrick