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

Quboid

macrumors 6502
Original poster
Oct 16, 2006
441
0
everywhere
I am alittle confused. When one goes to system preferences >> Sharing>> services and turns of personal web sharing, you get the option to view you personal website. Which is appearantly webspace that you got with the computer.
Is this really so?
If yes, can I upload my website(that i just finished building) there(without being a .mac member)?
IF yes, how can i so that?

Thanks a million

ps. I'm very new to web designing.
 
To the best of my knowledge.

OS X includes Apache which means that your Mac effectively can act like a web server. You can create a web site, put it in the Sites folder, turn on web sharing and then people can see your website.

All the files are on your Mac, and your Mac is the webserver, you are not uploading the files to an external server.

Of course, in order for others to see your website they will need to know the IP address.
 
Yes dude you can.

If you would like to host just one or two websites on your mac I would recommend putting your files in:

Hard Drive/Library/Web Server/Documents/

If you place the site here then you would have a url of http://youripaddress.com/

If you decide to place the site in your home folder's area, for example
/luigomez/sites/ you would have a url of:
http://youripaddress/~username/

If you do this, you can host as many sites as there is users, but with long links.

Once you do that all you have to do is fix the port forwarding in your router to send the traffic to the mac that is hosting.

unless you have a great connection to the computer hosting the site, I would not recommend hosting it there. Cable connections usually have around 700Kb/s upload or less and if you have numerous people connecting it will sabotage your internet usage at home. You also have to leave the computer on or the site goes down. Personally I would not do this unless I was testing a website before I set it out to the wild, with cheap hosting rates from godaddy and others, I save more paying the $3 a month than keeping my computer on at all times wasting my internet, energy, and damaging my pc by leaving it on 24/7.

Hope this helps, cheers.

Edit. From what I can remember, Mac OS X comes with apache and you turn in on when you select personal web sharing. If you do decide to install PHP or MySQL you would have to download them and install them.
 
O that example was to show you how the structure works. I don't know about how secure it might be to point to your site with only numbers but you can always forward a domain name to your ipaddress instead.
 
Thanks guys, everything seems to work fine except for the picture.
None of the pictures are working.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.