Skip navigation

Multiple websites

20418 Views 66 Replies Latest reply: Nov 15, 2011 12:54 PM by hphoeksma RSS
1 2 3 ... 5 Previous Next
SGlazier Calculating status...
Currently Being Moderated
Jul 20, 2011 12:42 PM

It seems pretty clear in the Server app how to configure hosting multiple websites but it doesn't seem to work.  No matter what I put in, requests just go to the default Mac OS X Server site.  Anyone had luck with this?

Mac mini, Mac OS X (10.6.7), OS X Server
  • Yannick Rose Calculating status...
    Currently Being Moderated
    Jul 20, 2011 12:47 PM (in response to SGlazier)

    Don't waste your time! no matter what you do it won't work!

     

    Waiting for 10.7.1 ;-) Yay!!

  • angryiphoneuser Calculating status...
    Currently Being Moderated
    Jul 20, 2011 4:31 PM (in response to SGlazier)

    Same problem - you can enter whatever you want in the Server.app for virtual host routing and it is duly ignored

  • hphoeksma Calculating status...
    Currently Being Moderated
    Jul 20, 2011 4:46 PM (in response to angryiphoneuser)

    Did you add the new site(s) to the hosts file?

  • izzey Level 1 Level 1 (40 points)
    Currently Being Moderated
    Jul 20, 2011 4:53 PM (in response to SGlazier)

    Yeah it dosen't seem like the hosts file does anything anymore, weird that it is still is there though.

  • Yannick Rose Level 1 Level 1 (55 points)
    Currently Being Moderated
    Jul 20, 2011 5:07 PM (in response to SGlazier)

    Seriously don't waste time on that... Apple will probably fix it soon (I hope) lol

     

     

     

    I'll stick with 10.6 since i host Wordpress sites and nothing can be worked around to fix this issue..

  • iHatePC Calculating status...
    Currently Being Moderated
    Jul 20, 2011 5:44 PM (in response to SGlazier)

    I was about to buy Lion server until I read this post. Is it really not currently working with mutiple websites? How can this be possible?

  • iHatePC Level 2 Level 2 (155 points)
    Currently Being Moderated
    Jul 20, 2011 5:47 PM (in response to SGlazier)

    Multilink multihoming

    http://www.apple.com/macosx/server/features/all.html

     

    Multilink multihoming enables Lion Server to host multiple IP addresses on the same or multiple network interfaces. This is ideal for connecting your server simultaneously to multiple networks, such as a public and a private network, or hosting multiple websites, each with its own IP address."

  • Jupeman Calculating status...
    Currently Being Moderated
    Jul 20, 2011 6:06 PM (in response to iHatePC)

    Yeah, but it doesn't work!  What was working with SL is now broken with Lion.  This is royally screwed up!

  • iHatePC Level 2 Level 2 (155 points)
    Currently Being Moderated
    Jul 20, 2011 6:20 PM (in response to Jupeman)

    Wow, it's hard to imagine that this is not working. It has been available to developers for several months. Is there a PDF manual that I can download?

  • Seemingly Absent Calculating status...
    Currently Being Moderated
    Jul 20, 2011 6:53 PM (in response to SGlazier)

    looks like they forgot to include the NameVirtualHost directive in any of the config files...

     

    Judging by the readme located at /etc/apache2 the directive should be generated into /etc/apache2/sites/virtual_host_global.conf but it isn't for some reason

     

    if you create a file called /etc/apache2/sites/00000_MoreTestingRequired.conf containing a single line:-

    NameVirtualHost *:80

     

    then restart apache then virtual hosts start working properly

  • Jupeman Level 1 Level 1 (40 points)
    Currently Being Moderated
    Jul 20, 2011 8:29 PM (in response to Seemingly Absent)

    Where is /etc/apache2?  I only see it in a "Previous Systems" folder.  Is that where I want to modify it?  Is this only able to be done from the command line?

1 2 3 ... 5 Previous Next

Actions

More Like This

  • Retrieving data ...

Bookmarked By (16)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.