Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

128
Views
MAMP Installation HTML PHP

enter image description hereThis is my first post here and i'm looking for getting some help.

I have recently taken courses in HTML/CSS/JavaScript and I feel pretty comfortable in that. Now i'm getting into PHP, and noticed that i need a localhost. I downloaded MAMP, added my website files to the htdocs but I cannot find my index.html in the localhost.

This is what I put in the browser: localhost/htdocs/web-development/Portfolio/index.html

What i'm trying to do is to preview my website and try my registration form which is done with html/css/javascript and php/phpmyadmin.

Even though I can understand and code HTML/CSS/JavaScript and still fairly new to programming so let me know if I explained it a bit messy.

I'm using Atom for coding.

Lukas

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

The default configuration for MAMP uses ports 8888 and 8889, and 7888, you can see the default port in controle panel under ports

http://localhost:{port number}/{project folder}/index.html -> ( if write php file this could be index.php)

htdocs represents web root that you no need to use in url

about 4 years ago · Juan Pablo Isaza Report

0

Based on your image, your index.html file is in your forms folder, so you have two options:

  1. Move your index.html into your portfolio file and have the server automatically serve it when the address localhost/htdocs/web-development/Portfolio is requested.

  2. Change your URL route to localhost/htdocs/web-development/iPortfolio/forms/index.html

The first would be more in keeping with standards - the server will search for an index.html/php file in the route of a website, which is why people generally use this file for their homepage, as noted here Why do people name their files index.html?

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!