Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other How to setup mamp to use ‘Sites’ directory on OS X…Simply

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #36195
    iambca
    Member

    Hi,

    I need to setup mamp and have it use my ‘Sites’ directory on os x. I’ve looked a numerous tutorials online but some are overly complicated and others include things that I don’t need to do…is there a simple way to do this?

    #94949
    TheDoc
    Member

    Well, if you use MAMP Pro you can create proper local domains like http://mytestsite.dev and then point that to your ‘Sites’ folder.

    Doing it with the free version, I’m not really sure.

    #94977
    davidlab.be
    Participant
    #95005
    Thoven78
    Member

    Start MAMP then select preferences -> Apache -> Document Root -> Click the select Button and Choose your “Sites Directory on the MAC”.

    #95037

    I personally use VirtualHostX to do what you are after, along with some other things. It is half the price of MAMP Pro.

    #95040
    angelazou
    Participant

    Same thing here, VirtualHost records are EASY…

    Just go to httpd-vhosts.conf and add


    DocumentRoot “/filepath”
    ServerName test.localhost.com

    and add this in your /private/etc/hosts, and you are good to go.
    127.0.0.1 test.localhost.com

    Angela

    #97501
    iambca
    Member

    @Thoven78

    Thank you!! So simple and right there under my nose :-)

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘Other’ is closed to new topics and replies.