The web server presently has some default page names like "index.html" so if you have a web page with this identify it will be shown by default when no document is specified in the request. You may perhaps also add some additional default file names to your web server. If you don't want to name your file "index.html" you can tell your web server that your default page's name is "mainpage.htm."
This is generally all there is to configuring your web server. Basically, there is much more, but these two steps will permit your web server to start out serving your internet site. Of program, there is also much more to web hosting your web site from house, like acquiring a domain name, dealing with your router if you have a person, but these topics are beyond the scope of this article.
I hope I've convinced you of how easy it is to set up a web server, which takes place to be the most significant move to internet hosting your web page from household.
Good day, Today I'm going to give a transient overview of how to set up the web server in OS X Leopard or Snow Leopard. The two of these operating devices occur pre-set up with the Apache web server. There are quite a few solutions that you can configure along the way. This document will assume that you at the very least have a basic knowing of the OS.
Phase 1: Produce the new directory that our web server will examine information from.
In OS X open Finder and navigate to your person directory. It will be labeled the identical as the person name that you use to login to your device. At the time your are in your person directory appear for a folder identified as web sites. Right click on (Alternative Click on) on the internet sites folder and opt for Copy. Following, navigate to the root directory of your tough generate. Find your really hard generate beneath Devices in Finder and Paste the Websites folder listed here. Now your Web-sites folder ought to have a route of "/Sites" devoid of the quotations.
**I propose working with TextWrangler for the future phase** It will make your living uncomplicated it can be found employing Google and is cost-free**
Move two: Now we will need to position Apache to the new directory path.
From Finder just click on "Go" in your leading menu bar and choose "Go To Folder" Style in this route: /private/etcetera/Apache2/
Listed here you will obtain a file title "httpd.conf" this is the main Apache configuration file and it is the following that we will be transforming the route to out new folder. Duplicate this file and save a backup in an additional folder. Open up up this document and look for a line labeled "Document Root"
Adjust the path for document root to "/Sites" Numerous lines down below document root you will find a further line "Directory" Transform the route of this directory to "/Sites" as well. Now you are ready to edit /Sites/Index.html to your liking or duplicate your already made site to the /Websites folder.
http://www.metacafe.com/watch/8122521/how_to_decide_on_web_hosting_for_your_website , http://vimeo.com/37087026 , http://www.dailymotion.com/video/xov8c8_how-to-decide-on-internet-host-for-your-site_news