Answer the question
In order to leave comments, you need to log in
How to set up a DNS server on MAC OS X?
I use MAMP local assembly of the web server on MAC OS X.
In order not to register a new host, Httpd.conf used vhost_alias and configured automatic addition of new virtual hosts to Apache in this way:
UseCanonicalName Off
ServerName loc
ServerAlias *.loc
VirtualDocumentRoot /Volumes/HDD/Sites/%1
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question