Results 1 to 3 of 3
  1. #1
    Question Hosting w/ Mac through a Router?
    I have been on this router for ages when I had PC's.. Now I converted all to macs... I found a new option to webhost off my Mac. Personal Sharing something like that.. How do i set it up to be able to host through a router. I have a SYSLINK Wireless Router. I'm using the hub part. My other PC's are wireless.

    Someone please help.

  2. #2
    I was able to do this with my comcast cable and linksys router. Here's a great resource.

  3. #3

    xstep's Avatar
    Member Since
    Jun 25, 2005
    On the road
    2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
    Your talking about Personal Web Sharing.

    It opens port 80 and allows you by default to place web pages in two main locations. One is the system default area at /Library/WebServer/Documents/. You can place a new index.html file there to override what is coming up now.

    The other location is ~/Sites/. The tilde represents the short username. If you short username is joe than the full Finder path is /Users/joe/. In the browser type http://localhost/~joe/ and it will find the default index.html file in joe's Sites folder. From the outside, a friend would type http://nn.nnn.nnn.nnn/~joe where the n's are your routers external IP address.

    You'll need to learn how to forward port 80 from you router to the Mac. On the router I have the option is titled Virtual Hosting. You enter a port number and the destination IP address. You'll likely have to create a fixed IP address on your Mac because if your using DHCP, the address can change under your feet.

    Note that some ISPs block port 80 so people out on the net couldn't see you page. If that is true for you, than you need to change the port in the router and in the Apache (webserver) configuration file. That file is /etc/httpd/httpd.conf which can be found via the Finder by Selecting the "Go to Folder..." selection under the Go menu item. I'm looking via Tiger right now. The usual alternate port to user is 8080, but you could use almost anything above that if your ISP also blocks that one.

    Enjoy. That is the easy part!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Cloud hosting, is it any different to normal hosting ?
    By timmy_toad in forum Web Design and Hosting
    Replies: 2
    Last Post: 01-06-2012, 01:47 PM
  2. Mac 10.x hosting Windows Virus'
    By mtyoung400 in forum OS X - Apps and Games
    Replies: 2
    Last Post: 05-26-2009, 12:27 AM
  3. .Mac Needs a Hosting Makeover
    By TMelcher in forum Web Design and Hosting
    Replies: 4
    Last Post: 08-12-2006, 08:14 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