![]() |
|
#1
|
|||
|
|||
Using Apache HTTP Server for Local Web ServerI would like to use Apache HTTP Server for Local Web Server. I have installed it (apache_2.2.6-win32-x86-no_ssl.msi) on my machine, but it doesn't work. Can someone teach me how to get it right? When installing Apache HTTP Server, it asked for Network Domain and Server Name. What should I enter if I just want to test Web applications on my local machine with it? And what should I do after installing it in order to get it right? Thanks in advance.
|
|
#2
|
||||
|
||||
Re: Using Apache HTTP Server for Local Web ServerThe last time I installed Apache version 2.2.n on my Windows XP system, about a month ago, I couldn't get it to load.
Is this on Windows XP? If it is, maybe you should try installing Apache version 2.0.n first. Get it to work, and then consider installing the latest version. For server name, I usually put localhost. |
|
#3
|
|||
|
|||
Re: Using Apache HTTP Server for Local Web ServerThanks for your reply. I'll try and see. I'm now using Windows Vista, but I tried it on Windows XP as well and failed at the end. I have some questions here: How about your Network Domain? What did you put for it? Is it same as the server name - localhost? Do we need to restart the computer after installation? And do we need to change settings after installation in order to make it Local Web Server? Thanks again.
|
|
#4
|
||||
|
||||
Re: Using Apache HTTP Server for Local Web ServerI don't know anything about Windows Vista and getting Apache to work with it.
When you start the web server (Apache), go to http://localhost (in a browser) and you should see a web page. If you don't, then your installation/setup needs some fixing. If you see the web page, everything is ready for you to work with the server. I don't recall being asked for a Network Domain. Again, is this version 2.2.n? Like I said, I don't know much about that version because it didn't work on my PC. If you must put something then try tm.net.my, which is our ISP's domain name. Do you need to restart the computer after install? No, I don't think so. But you need to start the web server. Once you know you can get to http://localhost, and you get to see the default web page by Apache, you can edit your httpd.conf file by: Start > All Programs > Apache Http Server > Configure Apache Server > Edit the Apache httpd.conf... If you make changes, you have to restart the web server for the changes to take effect. |
|
#5
|
|||
|
|||
Re: Using Apache HTTP Server for Local Web ServerThanks a lot for your reply. With your help, I think everything will go well this time. I'll come back here if I've got any problems again.
|
|
#6
|
||||
|
||||
Re: Using Apache HTTP Server for Local Web ServerAlso, here's a tip:
When testing the web server for the first time, go offline, and make sure your firewall is off/deactivated, just to avoid confusing yourself about where the real problem is. |
|
#7
|
|||
|
|||
Re: Using Apache HTTP Server for Local Web ServerThanks. I did stay offline when testing the web server.
Just now, I tried to install apache_2.0.61-win32-x86-no_ssl.msi and I was asked for Network Domain as well. It's OK if you can't still manage to recall anything about the Network Domain. But, now, I have a question here: Which option did you select when installing Apache HTTP Server? 1. Install program for All Users, on Port 80, as a service 2. Install program only for Current User, on Port 8080, when started manually I selected the second one when installing version 2.0.n and version 2.2.n and found something strange. After installing both the versions for the first time, I found that some files were incomplete (for example: Unable to edit the Apache httpd.conf file and a dialog appeared, saying that a shortcut was missing; unable to start the program service, and so on). Aftert installing them for the second time without restarting my PC, everything went OK. I could start the program properly and was still unable to make it Local Web Server. Did you encounter this problem? |
|
#8
|
||||
|
||||
Re: Using Apache HTTP Server for Local Web ServerI always use Option 1. i.e. port 80, as a service. It helps that I am the only one using my computer.
|
|
#9
|
|||
|
|||
Re: Using Apache HTTP Server for Local Web ServerThanks. Well, I'll now try installing it using the first option.
|
|
#10
|
||||
|
||||
Re: Using Apache HTTP Server for Local Web ServerWhen you're ready, let me know and I'll take a look. i.e. by browsing http://your.ip.here/
|
Recent GIDBlog
Observations of Iraq by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Named virtual host not working | Johnnyrotton | Apache Web Server Forum | 4 | 04-Sep-2007 20:32 |
| Apache http Server Authorization - Need help! | Siegard | Apache Web Server Forum | 0 | 03-Jul-2007 07:37 |
| Apache server returns no status code | rudyy | Apache Web Server Forum | 0 | 08-Feb-2007 13:23 |
| apache server configuration problem | albert85 | Apache Web Server Forum | 1 | 03-Jan-2006 06:03 |
| HTTP status 500-while running jsp on apache web server | Yaseen | Apache Web Server Forum | 0 | 26-Sep-2005 04:59 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The