Multiple Web sites configured for single IP

Discussion in 'Mac OS X Server, Xserve, and Networking' started by EdTyler, Mar 3, 2010.

  1. macrumors newbie

    Joined:
    Feb 2, 2010
    Location:
    Alabama
    #1
    It is my understanding that the Mac Mini running OSX 10.6 server can be configured to run multiple web sites with different domain names on a single IP address. I have set up two sites with totally different domain names and can access them by toggling the port numbers. Port 80 default or 8080 as the alternate. I can force access by changing the web domain naming, ie domain.com vs www.domain.com. Incoming requests go to the first site in the list and they are sorted alphabetically.

    The question is how do I set them up so that site xdomain.com receives only its reuests and site ydomain.com receives only the requests directed to it.

    I used the server manager software to set up the second site as a custom site and the site works using the port numbers to force direction but not by using only the domain name for a URL.

    Any help would be very much appreciated.

    Ed
     
  2. macrumors 68030

    Les Kern

    Joined:
    Apr 26, 2002
    Location:
    Alabama
    #2
    no need to mess with ports. buy your domain names and point them to your IP, then tell their DNS servers what the exact path is for each site. Like www.mysite.com/site1, then mask that so the address is seen by the user as the domain name of the site. You can have as many sites do that as you want.
     
  3. macrumors 6502

    Joined:
    Sep 30, 2007
    Location:
    Lomita, CA

Share This Page