Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

EdTyler

macrumors newbie
Original poster
Feb 2, 2010
3
0
Alabama
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 http://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
 

Les Kern

macrumors 68040
Apr 26, 2002
3,063
76
Alabama
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 http://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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.