Results 1 to 4 of 4
  1. #1

    Member Since
    Mar 08, 2010
    Configuring Multiple Web Sites with single IP on web server running Snow Leopard
    So how do I go about doing that? I have three sites I want to host on a single server with one IP. What is the actual settings on the server running Snow Leopard that directs the traffic to the site?

    Thanks for any help.

  2. #2

    Member Since
    Dec 16, 2009
    I've been searching this same thing all night. I ordered a Mac Mini I plan to host multiple sites on. I don't have it yet so I haven't gotten to try this, but the instructions at this link look promising. I know it's for xserve but I think it's all the same.

    Optimizing an Xserve for Web Hosting

  3. #3

    Member Since
    Jul 09, 2009
    Mac Server Series: Multiple IP Addresses on One Mac : far away mac | mac server tips

    Not sure if this is exactly what you are looking for but take a look at it.
    engine simulation software

  4. #4

    Member Since
    Dec 16, 2009
    I looked more closely and it looks like the link I posted previously applies to the server edition of OS X. The regular version requires the same steps, but is more manual. You need to manually edit the httpd.conf file (in /private/etc/apache2) by uncommenting line 465: "Include /private/etc/apache2/extra/httpd-vhosts.conf". Then add virtual host information to vhost.conf (in /private/etc/apache2/extra). Here's an example of virtual host info copied from Apache's website:

    DocumentRoot /www/docs/
    ErrorLog logs/
    TransferLog logs/

    Restart Apache by turning web sharing on/off in System Prefs and it should go.

    This is to add multiple domains behind the same IP, you also have the option to create multiple IPs (though I don't know how that works). Also, this is for Snow Leopard (and possibly Leopard), if you're running a slightly older version I think the only difference is that vhost.conf is included in httpd.conf.

    Let me know if you have any luck!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. can't access some web sites
    By Nawlinseddie in forum OS X - Operating System
    Replies: 1
    Last Post: 08-21-2014, 08:44 PM
  2. Web server on snow leopard server
    By Dr Rock in forum Internet, Networking, and Wireless
    Replies: 1
    Last Post: 09-10-2012, 05:58 AM
  3. Replies: 1
    Last Post: 12-05-2011, 01:43 PM
  4. Snow Leopard Opera Web Browser problem?
    By V E K H U A N in forum OS X - Apps and Games
    Replies: 14
    Last Post: 06-06-2010, 12:54 AM
  5. DivX Web Player Error after Snow Leopard
    By king kumo in forum OS X - Operating System
    Replies: 6
    Last Post: 12-23-2009, 01:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts