วันพุธที่ 16 มิถุนายน พ.ศ. 2553

Setting Up Apache Web Server

So, you want to set up a web server? Well, you have come to the right article. I will show you how to set up an Apache web server. There are some things you should know before we start setting up your web server. A web server is a software that always runs on a computer and allows other computers to download the files from it. This book you are reading traveled over a network connection, in this case the web server, right to your computer.

Why would you want to run your very own web server? Maybe it's because you want to download files from your own computer onto another computer, or maybe it's because you want your very own website hosted with just the cost of electric. A server can be a powerful thing to have, it could open up exploits to your computer if not done right. So, if you follow this book right you will be up and running without any problems at all!

Before you start make sure your computer has all the latest security patches, latest updates, and that you have done spy ware and virus scan. And always have a strong firewall. Bitdefender is a great firewall, but any PAID firewall should do the trick.

Let's get started on setting up that web server. You will need the following in order to set up a web server:

1. A Windows PC

2. A broadband Internet connection (DLS or Cable) Step 1: Installing the Apache Server

First thing that you will want to do before install the server is to disable and stop any firewall software you may have running on your computer, including Windows Firewall. You may want to close out of any unneeded programs that are running on your computer. That is important, and should really be done as it can cause the server installation to fail. You can start them back up when the installation process is done.

Now, Download the Apache web server, you can find that by searching Google. After the download is complete, Start the installation wizard and Accept the agreement. Use the default location for the Apache files. After that you will see a screen for server information, just enter your own e-mail address and server domain. Complete the install process with "Typical installation" setting checked.

When the installation is done you may be prompted to restart your computer, if so, restart your computer. If, and when your computer is done restarting open your browser and type in localhost. If the page loads and you see "If you can see this, it means that the installation of the Apache web server software on this system was successful", then the server loaded without and problems.

Step 2: Configuring Apache

Now, make sure you pay attention on this part. Open httpd.conf file with notepad.exe. That file is the Apache config file, which looks long, and messy. You may not even understand the text that's in the file, after you keep reading you will. But for most of us the default settings work for us, we will just need to change a few things to make the server even better.

About 19 or 20 lines below that you will see a line that reads:
AllowOverride None
Change that to:
AllowOverride All

When your done with the editing save the httpd.conf file. The, in your task bar click the apache icon then choose "Restart". If apache restarted without an error then visit the URL I told you to go to last time. If you got an error that you may have messed up the config file. When you

Step 4. Congratulations!
You now have a working web server! Make sure you have port 80 unblocked on your firewall and router.

Some Things You Should Know:
If you have a web server whats the point of having one if you don't know how to make a site? A website is coded in HTML. HTML is really easy to learn, you can learn HTML within 24 hours. I know someone that learned it in an hour. It's well worth learning, and you can add it to your resume if you ever apply for a job.

There are more advanced programming languages like PHP, but it's not recommended for starters, you will need to know HTML anyway no matter what. I will link you to a page were you can read up more information on HTML, I won't get into it to much on this article since its for setting up a web server. The link will be right below this text.




For more information on HTML then what was provided in this article visit -- http://www.squidoo.com/onehourhtml

ไม่มีความคิดเห็น:

แสดงความคิดเห็น