New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus • Advice and insight from world-class Apple enthusiasts • Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

Hosting w/ Mac through a Router?


Post Reply New Thread Subscribe

 
Thread Tools
AndyMcCullough
Guest
 
Posts: n/a

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.
QUOTE Thanks
ineedanewmac
Guest
 
Posts: n/a

I was able to do this with my comcast cable and linksys router. Here's a great resource. http://www.dslwebserver.com/
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
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!
QUOTE Thanks

Post Reply New Thread Subscribe


« Dreamweaver MX 2004 | Safari or Mozilla versus Internet Explorer »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Connecting to Mac from PC problem beetlejelly OS X - Operating System 11 08-23-2012 09:47 AM
Help for a mac newbie: help on airport express router jian nan Internet, Networking, and Wireless 4 02-12-2005 05:21 PM
Router Setup/Connection Problems vjamacaddict Apple Desktops 5 06-21-2004 11:05 AM
Hooking up an emac to a linksys router ddzc Other Hardware and Peripherals 11 03-20-2004 03:02 PM

All times are GMT -4. The time now is 08:03 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?