Virtual hosts all redirect to first in list - Snow Leopard Server

I know this is something that's been talked about here before, but I don't see the answer that's making it work for me.
Basically, I am trying to use virtual hosts in a pretty standard fare way. I'm just making a bunch of subdomains: wiki.mysite.com, client1.mysite.com, client2.mysite.com, you get it.
All of these resolve fine, but they're all showing wiki.mysite.com (the first in the list in Server Admin). If I reorder the list, I get whatever's first. I do not have a * in the aliases section of any of these sites.
Can anyone help?

Server manager and workgroup manager in some cases (apache) reads and writes out to files, so you can check if SM is doing the right thing by apache if you go to the actual files in /etc/apache2/sites and check what is there...
i DID have this behavior and fixed it by putting something in the alias part of server manager - i guess it is worth a try and you can always take it out again.

Similar Messages

  • Virtual Hosts & Port Redirections

    Hi guys,
    In 10.6 i used to be able to setin the Server Admin GUI settings for the web service. This included Virtual Hosts & Port Redirections. How do i go about doing this on 10.7?
    For example, I need myserver.mycompany.com:80 to redirect to myserver.mycompany.com:8088 & mygreatsite.company.com:80 to redirect to mygreatsite.company.com:9006.
    Both of which are hosted on myserver.mycompany.com.
    Links apprecaited.. i'm guessing i'm in for an Apache lesson?

    I hope that article helps you, maybe you can figure it out and post back for the rest of us!
    I haven't actually read it yet, I just saved it to my Pinboard page for later, because I know eventually I will have to deal with vhosts in Lion.

  • Hosting IPv6 Website on Snow Leopard Server

    I'm currently going through the IPv6 Certification offered by Hurricane Electric just for kicks and giggles. I already have a IPv6 tunnel running on my Time Capsule router(since my ISP is not providing IPv6 addresses yet) and have a valid IPv6 address manually assigned to my Snow Leopard Server.
    I created an AAAA record (ipv6) on my external DNS host that points to the IPv6 address of my server. I also created a website at using the ipv6 subdomain, made sure the site pointed to the IPv6 address of the server and that it was hosted on TCP port 470 (I'm assuming this is the website port for IPv6 - at least Snow Leopard Server thinks so). I also made sure this port was being forwarded from my router.
    When testing my website by using an external website tester it says that my AAAA hostname is correct but that it can't reach my website via IPv6. I did make sure to have an appropriate CNAME record for ipv6 on my internal DNS server but I can't add records - at least through Server Admin GUI - for IPv6 addresses. I know this isn't supported via Server Admin GUI but I can't find any documentation on how to add IPv6 addresses for the internal DNS server and if this is even necessary.
    I can reach the site when I'm on my internal network - though I'm not sure if I'm reaching it via IPv6 or IPv4. Does anyone have any information or experience on hosting an IPv6 website on Snow Leopard Server?

    I found the issue was that I was blocking all incoming connections via IPv6. I edited the firewall to allow ports 80 and 443 and also changed the site to use port 80 (I don't know why Server Admin changed the port to 470 when choosing the IPv6 address) and I was then able to access the website via IPv6.

  • Creating a versatile DNS and redirection service on Snow Leopard Server

    For the few of us who use Snow Leopard Server as a main DNS for our small network, the following is a workflow that I would like to share with the board for creating redirection services to not just sites found on the locally hosted apache but also external sites.
    +IF you are adding a second domain name, the reverse domain lookup will not appear and you will need to add a Machine/A record with the fully qualified domain "domainname.com." (don't forget the . at the end) into the new zone and it will point to the "server" Machine/A record ip address.+
    *DNS Portion* : (ServerAdmin > DNS > Zones >
    Add Zone > Primary > Create a fully Qualified Domain name and dns "server" in the Machine / A Record
    Create the (add Record > Alias/ CNAME) subdomain pointing to the server.domainname.com e.g. (library)
    *Web / Apache Portion :*
    Create a new site (ServerAdmin > Web > Sites > Plus button)
    With General > host name exactly as spelled in above subdomain in full (library.domainname.com)
    Select Web Folder where the site is hosted
    If you are creating a redirection, create a folder on the server, add an index.php (with the script below)
    Add Alias with the same subdomain as number 2
    _PHP script :_
    <?php
    $location = "http://example.net";
    header("Location: ".$location, "301 Moved Permanently");
    ?>
    // Edit the "http://example.net" to which ever e.g. "http://apple.com"
    _Alternatively you can also mask the page with :_
    <html>
    <head>
    <title>Same Title As Your Homepage</title><!-->incase they have javascript turned off<!-->
    <script type="text/javascript"><!-->changes title bar to match title on current page in frame<!-->
    function changeTitle()
    if (top.frames['main'].document.title)
    top.document.title=top.frames['main'].document.title;
    </script>
    </head>
    <frameset>
    <frame name="main" src="http://actual-url.anotherhost.com/page.html"scrolling="auto" target="main" ONLOAD="changeTitle();"><!-->You need the onload handler to make the javascript work<!-->
    <noframes>
    <body>
    Place a suitable message here for people with browsers that can't read frames.
    </body>
    </noframes>
    </frameset>
    </html>

    Ok, local DNS services (unicast DNS) are typically straightforward to set up, very useful to have, and can be necessary for various modern network services, so I'm unsure why this is even particularly an open question.  Which leads me to wonder what other factors might be under consideration here; of what I'm missing.
    The Bonjour mDNS stuff is certainly very nice, too.  But not everything around supports Bonjour, unfortunately.
    As for being authoritative, the self-hosted out-of-the-box DNS server is authoritative for its own zone.  That's how DNS works for this stuff.
    And as for querying other DNS servers from that local DNS server (or, if you decide to reconfigure it and deploy and start using DNS services on your LAN), then that's how DNS servers work.
    And yes, the caching of DNS responses both within the DNS clients and within the local DNS server is typical.  This also means that there is need no references to ISP or other DNS servers on your LAN for frequent translations; no other caching servers and no other forwarding servers are required.

  • Running OS X Leopard 10.5.8, I want to upgrade to OS X Lion, do I have to first update to Snow Leopard?

    I have an iMac running OS X Leopard 10.5.8, I want to upgrade to OS X Lion, do I have to first update to Snow Leopard? And is it worth upgrading to Lion or should I wait some time?
    Thanks for your time!
    -JX

    Yes you must first update to Snow Leopard if you plan on installing Lion. Apple is very clear about that in the Lion's Tech Spec's that say:
    General 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.
    I like Lion quite a bit and have been using it for several months now. I've found it pretty stable, of course I don't use all of it's features however I really like the additional swipe features however you need a Magic TrackPad to take full advantage of those. However other features like Launchpad I don't have any really appreciation for because I've used OS X for several years now. However if someone is considering their first Mac after using an iPhone, iPad or other IOS device they would appreciate Launchpad.

  • How do I create a virtual directory in Snow Leopard Server Admin program?

    Hi, how do you use the server admin program in snow leopard server to create an apache virtual directory? I can't see it in the applet anywhere. Thank you.

    Well this is what I thought too but I don't think I'm doing something right. I have a default website on port 80 and I created a second site on the same port. They are two different websites. One is the initial one that comes stock with the osx. The second one I created.
    When I browse to my server I get the second site. How can I get the default to be the one that points to the mail, wiki, calendar stuff, while my second domain is something totally different.
    http://myserver (should be the default stuff like mail.)
    http://myserver/mysecondsite (should be my other stuff.)
    The problem is that when I go to http://myserver it is going to http://myserver/mysecondsite
    What am I doing wrong? Thank you.

  • Where can I find info on how to install and run Snow Leopard Server as virtual machine inside Mountain Lion

    Where can I find info on how to install and run Snow Leopard Server as virtual machine inside Mountain Lion

    Here is the short answer:
    Installing Snow Leopard Server into Parallels 10 for DUMMIES:
    http://forums.macrumors.com/showpost.php?p=17285039&postcount=564

  • Configure DNS on Snow Leopard Server for Web Hosting

    Hi Everyone,
    I put together an article on my blog about Snow Leopard DNS setup for web hosting. http://www.mkahn.com/?p=279
    I'll be revising it over the next few weeks to make it more informative based around feedback. Let me know if you have any questions or trouble setting up DNS on Snow Leopard Server for web hosting.

    Thanks for your replies. I realize I'm not making clear the way this network is configured . Also, the only services running on the Snow Leopard server are (at this time):
    dhcpd - in the 10.136.31.x range;
    dns - same as before;
    planned to add are:
    Open Directory (for network logins)
    Software update;
    Web (only on the 10.136.31.x Ethernet);
    mySQL (localhost only - for moodle);
    NAT is not set up on the Snow Leopard server itself. We have an outside router, a Cisco 2811. This router provides routing for both the public IP range, and the NAT range is configured in this router. The forwarding dns is located in LR and Fayetteville. So what I need is dns on Snow Leopard to forward outside queries to the state DNS servers, and resolve the local NAT IP only for Open Directory and a set of Snow Leopard clients.
    Is this going to be possible?

  • I have Mac OS X 10.5.8, can I upgrade to Mountain Lion without first upgrading to Snow Leopard or Lion?

    I have Mac OS X 10.5.8, can I upgrade to Moutain Lion without first upgrading to Snow Leopard or Lion first?

    No.
    Upgrading to Snow Leopard, Lion, or Mountain Lion
    You can upgrade to Mountain Lion from Lion or directly from Snow Leopard. Mountain Lion can be downloaded from the Mac App Store for $19.99. To access the App Store you must have Snow Leopard 10.6.6 or later installed.
    You can purchase Snow Leopard by contacting Customer Service: Contacting Apple for support and service. The price is $19.99 plus tax. You will receive physical media - DVD - by mail.
    Third-party sources for Snow Leopard are:
    Snow Leopard from Amazon.com
    Snow Leopard from eBay
    After you install Snow Leopard you will have to download and install the Mac OS X 10.6.8 Update Combo v1.1 to update Snow Leopard to 10.6.8 and give you access to the App Store.
    You can purchase Lion by contacting Customer Service: Contacting Apple for support and service. The cost is $19.99 (as it was before) plus tax.  It's a download.
    Be sure your computer meets the minimum requirements:
    Apple - OS X Mountain Lion - Read the technical specifications.
    Macs that can be upgraded to OS X Mountain Lion
      1. iMac (Mid 2007 or newer)
      2. MacBook (Late 2008 Aluminum, or Early 2009 or newer)
      3. MacBook Pro (Mid/Late 2007 or newer)
      4. MacBook Air (Late 2008 or newer)
      5. Mac mini (Early 2009 or newer)
      6. Mac Pro (Early 2008 or newer)
      7. Xserve (Early 2009)
    Are my applications compatible?
    See App Compatibility Table - RoaringApps - App compatibility and feature support for OS X & iOS.
    Am I eligible for the free upgrade?
    See Apple - Free OS X Mountain Lion upgrade Program.
    For a complete How-To introduction from Apple see Apple - Upgrade your Mac to OS X Mountain Lion.
    Model Eligibility for Snow Leopard and Lion.
    Snow Leopard General requirements
      1. Mac computer with an Intel processor
      2. 1GB of memory
      3. 5GB of available disk space
      4. DVD drive for installation
      5. Some features require a compatible Internet service provider; fees may apply.
      6. Some features require Apple’s MobileMe service; fees and terms apply.
    Lion System Requirements
      1. Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7, or Xeon processor
      2. 2GB of memory
      3. OS X v10.6.6 or later (v10.6.8 recommended)
      4. 7GB of available space
      5. Some features require an Apple ID; terms apply.

  • Hosting website on Your own Mac or Mac OSX Snow Leopard Server?

    I have been looking at ways of hosting my websites on my own Mac - how could I do this other than purchasing a copy of Mac OSX Snow Leopard Server?
    I know you can turn on file sharing, but how can you display your sites?
    Can you host more than one site with domain names and does this mean that you would be able to ditch web hosting with a company if the sites were hosted on Mac or Mac OSX Server?
    Thanks for any help that anyone can give me with this.

    Ethmoid wrote:
    I know you can turn on file sharing, but how can you display your sites?
    The key appears to be turning on Web Sharing within Sys Pref's Sharing pane. Also, THIS Apple page says: +"Every Mac user has a Sites folder in the home directory automatically configured for local hosting within Apache."+ And the following Apple doc says: +"You can also share a website on your computer by placing files in /Library/WebServer/Documents on your hard disk."+:
    _Mac OS X 10.6 Help — Sharing a website on your computer_
    The second of these two articles is old, but still may be useful:
    _How to Turn Your Mac Into a Web Server_
    _Apache Web-Serving with Mac OS X: Part 1_
    And this article asks the qstn:
    _Should I host my own web server?_
    ...More articles related to hosting a website on your Mac may be found HERE.

  • Host website and email on my Snow Leopard Server

    Hi. I have a customer who currently has a hosting company for his emails and website. He recently bought a Mac Leopard Server which I set up on the network which now he wants to host his web site (be a web server) as well as his own Mail Server (with his email addresses hosted himself). The ISP provides him with a static IP address, he has a registered domain name with GoDaddy. How do I go about providing this service to him on the Mac Server and what do i fill in as the default DNS name on the Server? Additionally what ports do I open on the ISP firewall and how and where do I store the website files for hosting the the website? I prefer not to host DNS on this Server as it is a small network how can I configure the MX record for this site then? Thanks.

    This is not a trivial task. Getting a Mac to act as a web server is trivial, provided you either can do with the default settings or are capable of managing an Apache web server. However, making that available on the web in general and making it the server responsible for maintaining the company web site is another thing entirely.
    First, a static IP address is not the same thing as a connection appropriate for a web server. Unless your client has paid for an internet connection that will allow such use, his ISP may very well cut him off as soon as they discover he's using it to run a server. Paying for such a connection will be much more expensive than just paying for a static IP address. And unless he's really paying a lot, the site will be slower than most web sites.
    Similarly, he's going to have to pay for someone to be on call 24-7 to fix server issues. He'll also need to have backup hardware in case of hardware failure. For example, if the hard drive in the server dies, he may not be able to afford a few days' downtime while a new hard drive is bought, the old one replaced and all the software and data reinstalled/restored on the new drive. If the site is at all important, I wouldn't consider anything less than a second server kept entirely synced with the primary one so they can be swapped out at a moment's notice.
    Honestly, given all the extra costs of running your own server, it's actually cheaper to just pay for hosting on a decent service provider. (GoDaddy is not one I would consider decent, so if he's having issues, switching hosts is probably the better option.)
    Now, if he just wants a small, in-house server that won't be seeing much traffic, that's definitely possible. But, as already pointed out, that would be better discussed on the server forums. Although some folks here will have experience setting up a web server on a standard copy of Mac OS X, many/most of them have no experience with Mac OS X Server.

  • DNS/web-server hosted off-site. How to set up Leopard server for mail?

    Hey Everyone,
    Brand new xserve with leopard server 10.5.2. Currently, Our web and DNS server for our domain,"company.com" is co-located off-site with an MX record of "mail.company.com" pointed at the static IP of the office where our mail server is. I want to replace the mail server with the xserve. With that in mind, how do I configure the DNS on the xserve during initial configuration to reflect that? Give it a self-referencing FQDN like server.company.office and see if the mail service can handle the domain hosted elsewhere?
    I'm pretty new to servers and would love be able to keep this all in Standard but I'm not afraid to jump into Advanced if need be. I've created a test domain through GoDaddy of "company2.com" with an MX record of "mail.company2.com" pointing at the IP address of the xserve. Any help would be greatly appreciated!

    Hello,
    Have a look at this blog post:
    http://blogs.adobe.com/captivate/2010/08/reporting-the-quiz-results-to-a-local-server.html
    Lilybiri

  • All Podcast Producer Jobs Failing After Snow Leopard Upgrade

    First, and most importantly, all Podcast Producer submissions are failing after upgrading to Snow Leopard. These seem to fail in the mail stage.
    I have a second problem that makes this worse: When I enter Server Admin -> Podcast Producer -> Settings -> Properties, I can not see any properties. I know that these settings are somewhere, since when I open the XML file in <Shared File System>/Server/Jobs, the resulting file has information that should be here, however some of it is incorrect. I'm not sure what got changed, since I can't see all of the properties in the PP panel in Server Admin.
    Thirdly, I can see no Workflows available in Podcast Producer, even the new ones that are supposed to be available in Snow Leopard.
    So, I would at least like submissions to actually not fail, which was not the case before the upgrade. I would also like access to all of the properties and workflows available in the Podcast Producer administration part of Server Admin.
    Has anybody else experienced this? Is there a way to fix this?

    After installing SL, i cannot get wellsfargo "account login" to work for any account of mine, other financial secure sites work fine, i.e. fidelity or vanguard, I can access the main screen of wellsfargo but login fails ... screen i get says Safari can't connect to the server and as follows: "Safari can’t open the page “https://online.wellsfargo.com/das/cgi-bin/session.cgi?" plus some more gibberish stuff.... i tried switching to firefox and it works fine .... never had any trouble before ..... tried safari reset, safari empty cache, and maintenace that applied ...... still no luck!! hope they get this bug fixed , my other computer an older mac mini works fine. any help????? never had any problem before SL

  • First use of Snow Leopard: I skipped reg. How to return to it?

    I had a larger HD installed and 10.6.3 installed. I updated all s/w and now have 10.6.4. While on phone with DSL provider, I skipped some sort of Snow Leopard registration screen to save time. This was the first time I used this s/w on this machine. How can I go back and find that "Registration" screen? I have the OS Install disk. Since then, I have obtained an Apple ID.

    Welcome to Apple Discussions.
    https://register.apple.com/cgi-bin/WebObjects/GlobaliReg.woa
    Enjoy the upgrade
    -mj

  • All 30 minutes my Macs (iMac/Snow Leopard, MacMini/Lion) are loosing the connection to the Windows Servers (2 Networks: Home with Home Server 2011 (Server 2008) and Office with Home Server V1 (Server 2003)).

    Hallo,
    Ich betreibe im Büro und zu Hause jeweils einen Microsoft Home Server. In beiden Netzwerken ist neben diversen Windows Rechnern auch ein Mac vorhanden.
    Die jeweilige "Konfiguration" ist wie folgt:
    - Apple MacMini (Late 2011, als HTPC) mit Lion per Wlan über AVM Fritzbox 7390 an Microsoft Windows Home Server 2011 (Windows Server 2008).
    - Apple iMac (Late 2010, Arbeitsplatzrechner) mit Snow Leopard per Lan über AVM Fritzbox 7270 an Microsoft Windows Home Server V1 (Windows Server 2003)
    Alle Betriebssysteme sind auf aktuellem Stand.
    Die Fritzboxen laufen mit der jeweils aktuellen Firmware
    Nun zu dem Problem:
    Beide Macs unterbrechen ca. alle 30 min den Kontakt zum Server. Die Verbindung wird zwar ca. 1-2 Minute später wieder aufgebaut, aber am MacMini (HTPC) macht sich dadurch bemerkbar, daß der Film oder die Musik für obige Zeitspanne stoppt und danach weiterläuft. Beim iMac (Arbeitsrechner) kann ein zuvor vom Server geladenes Dokument dann nicht mehr gespeichert oder gedruckt werden.
    Der MacMini hat dieses Phänomen direkt bei der Verbindung mit dem WHS gezeigt. Der iMac hat jedoch zuvor ca. 1,5 Jahre ohne Probleme funktioniert. Dieses Problem tritt bei dem iMac (Snow Leopard) erst seit ca. 6-9 Monate auf.
    Da unterschiedliche WHS und OS X Versionen betroffen sind und auch unterschiedliche Fritzboxen verwendet werden und scheint ein allgemeines Problem im Zusammenspiel Windows/OS X vorzuliegen.
    Bei dem iMac fällt der genaue Zeitpunkt der Verbindungsunterbrechung nicht auf.
    Bei dem MacMini läßt sich der Zeitpunkt dagegen relativ leicht bestimmen. Aus der Ereignisanzeige beim Windows Server ergibt sich leider kein eindeutiges Fehlerbild. Zu dem jeweiligen Zeitpunkt taucht aber relativ oft, aber nicht immer (!), in "Windows-Protokolle Sicherheit" der Fehler 4625 ("Fehler beim Anmelden eines Kontos") auf. Dies würde auf eine Rechteproblematik hindeuten. Das Konto des Mac kann aber alles was ihm auf dem WHS erlaubt ist.
    Beim Suchen nach einer Lösung (bisher leider erfolglos) bin ich u.a. auch über das Problem des Server Infrastructure License Services (silsvc) beim Windows Small Business Server 2011 Essentials gestolpert (auch alle 30 min!). Vielleicht ein Zusammenhang?
    Hello,
    I run the office and at home each a Microsoft Home Server. In both networks, in addition to various Windows computers, a Mac is available.
    The particular "configuration" is as follows:
    - Apple MacMini (Late 2011, as HTPC) with Lion via wifi via AVM Fritzbox 7390 to Microsoft Windows Home Server 2011 (Windows Server 2008).
    - Apple iMac (Late 2010, desktop PC) with Snow Leopard by Lan on AVM Fritzbox 7270 on Microsoft Windows Home Server V1 (Windows Server 2003)
    All operating systems on current conditions with all patches and updates.
    The Fritz boxes running with the latest firmware
    Now to the problem:
    Both Macs are loosing every 30 minutes the contact to the server. The connection is "re-"established about 1-2 minutes later. On MacMini (HTPC), the film or music is stopped for the above period. Thereafter, the film / music goes on. With the iMac (workstation) a document loaded from the server can no longer be saved or printed.
    The MacMini has shown this phenomenon directly in connection with the WHS. However, the iMac has been working about 1.5 years with no problems. This problem only occurs for about 6-9 months
    Because of different WHS and OS X versions are affected and also different Fritz boxes are used and it seems to be a general problem in the interplay Windows / OS X to be present.
    When the iMac is the exact date of disconnection does not occur.
    With the Mac Mini, the time can however be determined relatively easily. From the Event Viewer on Windows Server is unfortunately no clear error image. At the particular time but appeared relatively often, but not always (!) In Windows Security Logs the error 4625 (Failed to log on an account) on. This would indicate a rights issue.
    Searching for a solution (so far unsuccessfully, unfortunately), I stumbled over the problem of the Server Infrastructure License Services (silsvc) in Windows Small Business Server 2011 Essentials (every 30 min!). Maybe a connection?

    Hi, and thank you for your reply!
    My reason for not posting this in the server forum is that I suspect it is a clien issue. All my other clients connect happily to the server which leads me to believe the server is configured correctly.
    Only my the two MacBook Pro's are having problems.

Maybe you are looking for