Forum Moderators: phranque

Message Too Old, No Replies

Apache Server help

Installing Apache without ip adress

         

chacko

5:19 am on Feb 21, 2006 (gmt 0)

10+ Year Member



Hi all,

I have t install apache, 2.0.48. The problem is my PC has to take IP automatically. Hence it has no IP adress.

Can some one tell me what will me my hopme page?

When i start the server it says "make_sock" does not bind the ip adress 0.0.0.0

jdMorgan

8:26 am on Feb 21, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



cahcko,

Welcome to WebmasterWorld!

From the Apache documentation at [httpd.apache.org...] - VirtualHost Examples:

However, it is additionally useful to use * on systems where the IP address is not predictable - for example if you have a dynamic IP address with your ISP, and you are using some variety of dynamic DNS solution. Since * matches any IP address, this configuration would work without changes whenever your IP address changes.

Once this is configured, you can always access your own machine by the address 127.0.0.1 -- This IP address is universally defined to mean, "this computer here, the one that this keyboard plugs into."

Jim

chacko

11:17 am on Feb 21, 2006 (gmt 0)

10+ Year Member



Thanks Jim,

I am still not very sure.

I have a router which assigns dynamic IP to the PC's i use.
I need to run my sql , php and apache toghter.
Apache listens to port 80

So what will be my domain name?
server name?

jdMorgan

5:38 pm on Feb 21, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Your domain name and server will be whatever domain name you have purchased. Or you could use a service like dyndns (do a search for it), and use their domain name. If you want to use your site to sell anything, I strongly recommend you purchase your own domain name. This will avoid the problem of people not trusting sites that don't even own their own domain name.

You have set yourself a big project, and you can save yourself months of frustration by spending the next three weeks reading all of the Apache documention, as well as the documentation for the PHP and MySQL packages that you wish to install. There really aren't any shortcuts.

For a dynamic-IP situation like yours, the most basic steps are:

Register a domain name.
Point the domain name to your IP address (dyndns)
Configure your server to listen to port 80 on all IP addresses
Get your server working (Apache only)
Add or enable PHP and MySQL and get those working

Don't bother to start any of this until you check your ISP's terms of service -- Many ISPs do not allow customers to run servers on their networks, and will block those servers and terminate your internet service if you do so. This is because their networks are designed to support much more 'download bandwidth' than 'upload bandwidth.' While this works fine for clients (Web browsers) which send only a little data and receive a lot of data (a 10-to-1 ratio is typical), the situation is entirely reversed if you run a server, and can have a severe impact on their network. So check their terms of service first.

Jim

chacko

4:48 am on Feb 22, 2006 (gmt 0)

10+ Year Member



Roger that Jim,

Thanks for the help. :)

Chacko