Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How do I add a wildcard domain to Additional Domains in Websites on Mac OS Mountain Lion Server?

I could do this in Lion Server, but I can't in Mountain Lion (when I try to type * it doesn't type anything). Is there a file I can change with emacs to get this working? I've added the wildcard domain to /var/named/db.mydomain.TLD (see the wildcard domain section) but I need it in the web server as well for this to work.

User uploaded file

MacBook Pro with Retina display, OS X Mountain Lion (10.8.2)

Posted on Nov 24, 2012 7:22 PM

Reply
Question marked as Best reply

Posted on Nov 25, 2012 8:58 PM

I found the answer here:


/Library/Server/Web/Config/apache2/sites/0000_any_<port>_example.com.conf


And just before </VirtualHost> put the line:

ServerAlias *.example.com

1 reply

How do I add a wildcard domain to Additional Domains in Websites on Mac OS Mountain Lion Server?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.