Skip navigation

Can I run multiple web sites on my Mac mini server?

207 Views 2 Replies Latest reply: Jan 18, 2013 9:52 AM by Camelot RSS
bmoorehome Calculating status...
Currently Being Moderated
Jan 18, 2013 7:17 AM

I am running a web site on my Mac mini and would like to run a second independent site. I am running dynamic dns through no-ip.com and know that I can buy a second domain and direct it to my system. I can set up the files for the site on my system. I just need to know how to direct site requests to the second site instead of the first.

iMac, Mac OS X (10.4.11)
  • coocooforcocoapuffs Level 3 Level 3 (845 points)

    I found this to be easy, but I am not sure it's a standard way of doing it: I use godaddy for domain names and forward those to specific ports on the server. I also have MAMP Pro installed on the mini that handles mysql and all that gorp. Then under Server / Web Server I've identified where all the websites are, and which port they belong to. Seems to work great! Cheers,

    coocoo

  • Camelot Level 8 Level 8 (45,670 points)

    Are you using Mac OS X Server?

     

    If so, this is trivial - just use Server.app to create a new Site (Server.app -> Web -> + button).

     

    In the new site's configuration, enter the hostname that maps to this site.

    Rinse, repeat for as many sites you require. Apache will look to the hostname of the incoming request to work out which site configuration to use.

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

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.