GIDForums  

Go Back   GIDForums > Web Hosting Forums > Apache Web Server Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 11-Nov-2007, 23:25
ngjackie ngjackie is offline
New Member
 
Join Date: Nov 2007
Posts: 19
ngjackie is on a distinguished road

Using Apache HTTP Server for Local Web Server


I 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  
Old 12-Nov-2007, 01:00
admin's Avatar
admin admin is offline
Administrator
 
Join Date: Sep 2002
Posts: 754
admin will become famous soon enough

Re: Using Apache HTTP Server for Local Web Server


The 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.
__________________
Custom BB codes you can use here:
[HTML] | [C++] | [CSS] | [JAVA] | [PY] | [VB]
  #3  
Old 12-Nov-2007, 01:36
ngjackie ngjackie is offline
New Member
 
Join Date: Nov 2007
Posts: 19
ngjackie is on a distinguished road

Re: Using Apache HTTP Server for Local Web Server


Thanks 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  
Old 12-Nov-2007, 02:23
admin's Avatar
admin admin is offline
Administrator
 
Join Date: Sep 2002
Posts: 754
admin will become famous soon enough

Re: Using Apache HTTP Server for Local Web Server


I 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.
__________________
Custom BB codes you can use here:
[HTML] | [C++] | [CSS] | [JAVA] | [PY] | [VB]
  #5  
Old 12-Nov-2007, 02:35
ngjackie ngjackie is offline
New Member
 
Join Date: Nov 2007
Posts: 19
ngjackie is on a distinguished road

Re: Using Apache HTTP Server for Local Web Server


Thanks 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  
Old 12-Nov-2007, 02:52
admin's Avatar
admin admin is offline
Administrator
 
Join Date: Sep 2002
Posts: 754
admin will become famous soon enough

Re: Using Apache HTTP Server for Local Web Server


Also, 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.
__________________
Custom BB codes you can use here:
[HTML] | [C++] | [CSS] | [JAVA] | [PY] | [VB]
  #7  
Old 12-Nov-2007, 04:31
ngjackie ngjackie is offline
New Member
 
Join Date: Nov 2007
Posts: 19
ngjackie is on a distinguished road

Re: Using Apache HTTP Server for Local Web Server


Thanks. 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  
Old 12-Nov-2007, 04:36
admin's Avatar
admin admin is offline
Administrator
 
Join Date: Sep 2002
Posts: 754
admin will become famous soon enough

Re: Using Apache HTTP Server for Local Web Server


I always use Option 1. i.e. port 80, as a service. It helps that I am the only one using my computer.
__________________
Custom BB codes you can use here:
[HTML] | [C++] | [CSS] | [JAVA] | [PY] | [VB]
  #9  
Old 12-Nov-2007, 04:43
ngjackie ngjackie is offline
New Member
 
Join Date: Nov 2007
Posts: 19
ngjackie is on a distinguished road

Re: Using Apache HTTP Server for Local Web Server


Thanks. Well, I'll now try installing it using the first option.
  #10  
Old 12-Nov-2007, 04:47
admin's Avatar
admin admin is offline
Administrator
 
Join Date: Sep 2002
Posts: 754
admin will become famous soon enough

Re: Using Apache HTTP Server for Local Web Server


When you're ready, let me know and I'll take a look. i.e. by browsing http://your.ip.here/
__________________
Custom BB codes you can use here:
[HTML] | [C++] | [CSS] | [JAVA] | [PY] | [VB]
 
 

Recent GIDBlogObservations of Iraq by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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

All times are GMT -6. The time now is 03:14.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.