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.

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

Similar Messages

  • How do i add a company logo to my email signature on my mac book pro

    how do i add a company logo to my email signature on my mac book pro

    I would like to know how to do this as well. All I'm able to do is add the link, but not the button. My colleague has done this on his Outlook on his HP. I'm not sure why this is so difficult!

  • How can I add icloud to macbook pro?  Do I need to buy snow leopard & lion?

    How can I add icloud to macbook pro?  Do I need to buy snow leopard & lion?

    Lion 10.7.2 is required for iCloud. Your computer must meet the requirements:
    Lion System Requirements
    Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7, or Xeon processor
    2GB of memory
    OS X v10.6.6 or later (v10.6.8 recommended)
    7GB of available space
    Some features require an Apple ID; terms apply.

  • In mavericks, how can I add my linkedin account without adding my contacts to my mac address book?

    in mavericks, how can I add my linkedin account without adding my contacts to my mac address book?
    it seems to be a prerequisite to adding the account. any advice please?

    Welcome to the Apple Community.
    iTunes, iCloud, Messages and FaceTime are all seperate services. You could change your ID for Messages without affecting anything else. If you wish to change your ID for iCloud, you would need to save your data, please let us know if you wish to use another ID for more than messages.

  • How To Set Up Mountain Lion Server/Point DNS to Mac Mini Server

    Hello, First of all I have no experience with setting up servers whatsoever. Below is what I have
    - Mac Mini with Mountain Lion Server
    - Time Capsule as my router
    - Comcast as my service provider
    My goal is to set up my MacMini as a sharepoint for files and other data with my other partners.
    - I have purchased a domaine name from NetworkSolutions. Does this mean that they are my DNS hosting as well? Not really sure. My biggest question is how to point my DNS to my mac mini server correctly.
    1. How do you point the DNS to my mac mini server.
    2. I've read somewhere to use the IP address from my mac mini server. The only IP address I see is from my Time Capsule (router). I know what my public IP adress is but I am not sure if that's the one to use. I think once I figure this DNS thing I can figure out the rest.
    Thanks - Need lots of help.

    Here's a detailed write-up on setting up internal (private) DNS on OS X Server, and no, you're probably not going to be setting up external DNS on your servers.  Your public DNS service will be hosted on and served from the Network Solutions DNS servers.

  • OSX Mountain Lion Server - how do you uninstall this including services

    Hi All,
    Sorry if the question has been asked before.
    I have Mountain Lion 10.8.5 and installed OSX Mountain Lion Server (2.2.2) and run into a couple of issues after installed successfully.
    * I no longer can add users and groups.
    * Open Directory fails to connect.
    So I read some forums and uninstalled the server by trashing it, deleting /Libaray/Server, empty trash and reboot. But when I reinstalled the server it renabled all the services that I had previously and still not able to add users and groups. Open Directory fails to connect "not able to load replica" So I try to create a new OD and get an error the server is already a Network Server.
    So basicaly I want to start from scratch and need some assistance how to get rid of OSX Server.
    Thanks
    Sahid

    Wipe the disk, and reinstall OS X.  (Not fun, of course.  I just created a bootable USB disk for this purpose, and nuked an errant server configuration.  A "target practice" server used for testing purposes had gone awry, and needed to be wholly reset.  So I know what you're going through.  Visit here or here for some instructions.)
    FWIW, usual trigger for problems with OS X Server on a NAT'd network is bad DNS.  That step gets skipped, or folks think they can refer to ISP or off-LAN DNS servers, and problems ensue.  OS X Server needs LAN-local DNS when NAT is in use.

  • I updated my 2009 Mac to Mountain Lion yesterday but cannot add photos from my iPhoto library to contacts anymore. Drop down menu only shows "default, recent and camera" but I cannot get to iPhoto library.

    I upgraded my 2009 Mac to Mountain Lion yesterday but cannot add photos from my iPhoto library to contacts anymore. Drop down menu only shows "default, recent and camera" but I cannot get to iPhoto library. Help stated to choose Faces but I don't even get that far. How do I fix. Still works on iPad but not on Mac.

    When you have iPhoto and Contacts open and try to drag a picture for iPhoto to the Contacts photo frame do you get a + symbol? if not you should!  from there the the pop menu should appear and then you can select the picture and click on done
    Sample movie on how to

  • How do I use the AirPlay Mirroing on my mac with Mountain Lion ?

    How do I use the AirPlay Mirroing on my mac with Mountain Lion ?
    I watched the video about Mountain Lion, but the airplay icon can't appear on my menu bar.
    WHY ?

    i have a MacBook Air (Early 2011)
    and it doesn't support the airplay mirroring ,,, the only things that the failed to do is  " MENTION IT "
    it wouldn't hurt anyone if they just say it's limited to Late macs ,,,, i really wanted that feature and i updated my mac so i can watch movies on my HD screen ,,,,
    i hope they made and update for it ,,, otherwise i have to wait another 4 months to get a new macbook pro

  • Unable to add/remove users in Mountain Lion Server (Options are greyed out)

    For some reason, im unable to add/remove users in Mountain Lion server. The + and - are greyed out. It seems like something is wrong with the permissons because it looks like it cant write the the Ldav3 file (although that may be speculation). Does anyone have any advice for me? I URGENTLY need to add users.
    Maybe theres a way to restore default permssions for the boot drive (if that in fact is the issue). Hopefully there is a way that I can fix this while leaving all users, groups, their permissions and shares intact.

    Anything interesting and relevent in the server logs?
    Anything interesting in the server alerts?
    Since it's far and away the most common cause of problems with OS X Server and with distributed authentication (Open Directory is entirely based on network encryption and digital certificates and on responses from your local DNS server(s)), verify your local DNS configuration is working and requires no changes with the following Terminal.app (Applications > Utilities) harmless, diagnostic command:
    sudo changeip -checkhostname
    sudo requires an administrative password.  You might get a one-time warning about the sudo, and that can safely be ignored.  The command will display some details, and indicate whether the local configuration appears valid and no changes are required, or further diagnostics for (most) common errors that can arise.

  • How do I set up my Time Machine and Mac Mini with Lion Server so i have one wifi loop in the house?

    HELP!
    So I have had a Time Machine wifi loop at the house for approx. 6 years. I run two Macbooks, 2 iPhones, 2 iTouch and a Samsung Smart Blueray on the loop.
    I just bought a Mac Mini with Lion Server. When setting it up I'm not sure what or how I managed to do, but I now have 2 wifi loops, one doesn't lock and niether will support the Samsung BlueRay. Also, each time I want to go online with one of the other Mac devices i have to relog into the wifi loop.
    Can someone please walk me through the fix. The mac Mini is plugged straight into the Time Machine to recevie its internet connection.
    Thanks!
    John

    You often see this limit of 10 clients in wireless hotspots but I have yet to see it in an adsl modem.. most strange way to pay for a service that is really irrelevant how many clients you use.
    Have a go .. I recently setup a TC to help a guy run his Roku.. and this setup worked well.. I have no idea if it can work in your case.
    Lets say the IP you get is 192.168.2.1-10 .. doesn't matter what it really is. And the adsl modem is 192.168.2.254
    (Assuming they are private addresses.. if they are public IP you can just use the DHCP and NAT. )
    But go to the airport utility.. I think you need to run v5 at least to change DNS.. but you can do the same thing in v6 using static but no dns changes.
    Now you set the IP of the TC manually.. This address might need to be in the dhcp range of the modem to work. You can set the DNS to same IP as the router address.. ie home address of the modem. Or you can use another DNS.. whatever you like.
    Then set DHCP for clients that will join.. this can then expand the scope of addresses..
    It worked without a NAT error.. although I am not sure exactly how.. on paper it should not be able to work but did.. have a go.. otherwise there is perhaps another way.. but it is complicated.
    Give us an example from a computer plugged into the modem of what IP .. subnet mask .. Gateway and DNS you get. Then I can fine tune the values for it.

  • How can I set up a mail alias in Mountain Lion Server?

    Hi, newbie to Mountain Lion Server here.
    I've set up mail for domain a.com and a virtual domain b.com
    User a receives mail just fine at [email protected] and [email protected], now I wanted to receive mail for [email protected] as an alias, which I understood after reading the posts here is done by going to 'advanced options' of user a and setting b in the alias field.
    But sending a mail to [email protected] bounces with a "550 5.1.1 <[email protected]>: Recipient address rejected: User unknown in virtual alias table".
    However sending a mail to [email protected] does work, so I'm wondering what I'm doing wrong.

    Hi, it's a late response, I know, but I had same problem just now and in my searching for an answer I found your question. ...better yet, I also found the answer - simply make a user alias including the virtual domain, like for instance if you want alias c to receive mails from both a.com and b.com, you should make two aliases:
    c, [email protected]
    where the first alias defaults to a.com as the default domain and the second explicitly specified the virtual domain.
    Cheers

  • I bought my Mac Book Pro on 4th July with Mac OS X Lion Version 10.7.4. How can I get new Mac OS Mountain Lion?

    I bought my Mac Book Pro on 4th July with Mac OS X Lion Version 10.7.4. How can I get the new Mac OS Mountain Lion?

    Click here and start the process.
    (68658)

  • How can I continue to use my library of appleworks 6 drawings and sketches with Mountain Lion.

    How can I continue to use my library of appleworks 6 drawings and sketches with Mountain Lion?  Wednesday Jan. 30.  by Turtlelady.

    Now with iTunes 10.4 no iphone appears on the left sidebar
    Try removing and reinstalling the AMDS...
    iTunes: How to remove and reinstall the Apple Mobile Device Service on Mac OS X

  • HT204350 Incorrect link to "OS X: How to migrate data from another Mac using Mountain Lion and earlier"

    Incorrect link to "OS X: How to migrate data from another Mac using Mountain Lion and earlier". Should be http://support.apple.com/kb/HT6025

    I think the OP is saying OS X: How to migrate data from another Mac using Mountain Lion and earlier (which should be a link to HT4889) just links back to OS X: How to migrate data from another Mac using Mavericks (HT5872).
    It does indeed do that, & HT4889 seems to be MIA.

  • How do I install custom printer profiles in Mac os mountain lion. I can.t fine the icc profiles directory (if that's what it is).

    How do I install custom printer profiles in Mac os mountain lion. I can't find the icc profiles directory (if that's what it is).

    NOTE: In Lion and Mountain Lion the Home/Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and press the Return key - 10.7: Un-hide the User Library folder. You'll need to do it again after each system update that's applied.
    OT

Maybe you are looking for