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

appledyl

macrumors regular
Original poster
Apr 20, 2009
117
0
USA
Can someone please give me step by step instructions on how to host a website from my iMac G4 and make it available on the world wide web?
 
Can someone please give me step by step instructions on how to host a website from my iMac G4 and make it available on the world wide web?

The first step would be to check the terms and conditions of your Interent connection. Many Internet providers specifically say you are not allowed to run a web server (including website, FTP, file "sharing", etc.) from the cheaper accounts. Instead you have to use a more expensive account type.

Second, you'll almost certinaly need a static IP address, which again usually means a more expensive account type.

Realisitcally it is much more sensible to host the website with a proper hosting service.
 
Cheap services are available for under $10 dollars a month. In addition, most home internet connection bandwidth is usually lacking and inconsistent.
 
Buzz is right. Usually you have to get the business package in order to host web services off your ISP. They can shut you down if they find out.
 
Don't forget the power requirements of having to leave your G4 on 24 hours a day to serve up any potential visitors. If the site is important, you may also want to think about a UPS for your internet connection (DSL modem, router, etc.) and computer in case of power outages in your area.
 
But, you asked for step by step instructions, so...

1. Go to System Preferences
2. Click "Sharing"
3. Turn on Web Sharing

It will offer you a web address that is internal to your network. For example, it may say your computer's web address is http://192.168.0.12/.

4. Put your website files on your computer. The root folder is /Library/WebServer/Documents. A default HTML page appears there, feel free to delete it and replace it with your own stuff.

5. If you are behind a router, configure it for port forwarding. Forward internet traffic on port 80 to the IP address of your computer (in the above example, 192.168.0.12).

6. Your website should now available by visiting your internet IP address. As others said, you'll need to ask your ISP to make this static (so it doesn't change every time you connect to the internet), and then once you've got a static IP address, you'll want to register a domain name that will map to that IP address.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.