gitmyhub

dotVhosts

PHP ★ 0 updated 11y ago ⑂ fork

Lightweight VirtualHost manager for Mac.

A free Mac tool that manages local web development addresses by scanning your project folders and auto-configuring the built-in Apache web server, replacing paid tools like MAMP.

PHPApachemacOSsetup: moderatecomplexity 2/5

The .vhosts project is a lightweight tool for Mac users who need to manage multiple local web development environments. It serves as a free, streamlined alternative to paid tools like MAMP, letting you set up and organize local web addresses (like http://myproject.local) without needing a heavy application.

When you build a website, you typically need a "virtual host" so your computer treats a local folder as if it were a live website. This tool automates that setup. You place a small configuration file inside your project folder. The tool scans your directories, finds these files, and automatically merges them into your Mac's central web server configuration. You can then manage all these sites by visiting a simple dashboard in your web browser.

This is designed for web developers and designers working on a Mac who frequently start new projects and want to avoid manually editing server configuration files. For example, if you build web apps using tools like Yeoman, you can configure a single project to have separate addresses for your live app, your distribution build, and your tests. It handles the behind-the-scenes routing so you can just open your browser and type a simple name to view your work.

It takes advantage of the Apache web server already built into macOS, so there is no need to install complex software to get started. The tool is also designed to be modular. While the core setup handles standard web hosting, the README notes that you can optionally integrate databases like MySQL, caching tools like Redis, or alternative web servers like nginx as your projects grow.

Where it fits