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

290
Views
MAMP VirtualHost is not working on Windows

I am trying to set VitualHost on MAMP Windows but it's not working. It's loading for 2-3 seconds and then showing Can't access this website.

Here is my configuration:

  • httpd.conf
# Virtual hosts
Include conf/extra/httpd-vhosts.conf
  • httpd-vhosts.conf
NameVirtualHost *:80
<VirtualHost *:80>                                                                
    DocumentRoot C:\MAMP\htdocs\website
    ServerName project.local                                             
    ServerAlias www.project.local                                         

    <Directory "C:\MAMP\htdocs\website">                                          
        Allow from All                                                                  
        AllowOverride all                                                               
        Options -Indexes +FollowSymlinks                                                
    </Directory>                                                                      

    UseCanonicalName on                                                               
</VirtualHost>

Apache is on 80 port.

What's wrong here ?

Thanks !

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Add following code in c:\Windows\System32\Drivers\etc\hosts

127.0.0.1 project.local
127.0.0.1 www.project.local

restart apache.

over 4 years ago · Santiago Trujillo 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!