httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krist van Besien" <>
Subject Re: [users@httpd] How to setup http links on local machine with dynamically alocated IP address
Date Mon, 04 Aug 2008 09:03:39 GMT
On Thu, Jul 31, 2008 at 11:08, Bogdan Cristea <> wrote:
> For a Apache server in a local LAN with DHCP I want to use in a http link
> the actual IP address of a machine. Is this possible when the IP address is
> dynamically allocated?
> Example: I want to replace in "http://localhost/~bogdan/" localhost with the
> actual IP address without needing to change each time the link when the IP
> address changes.

you can always use the IP address, eg:

But if your IP address changes, than you have to change the IP you use
in the link. If you keep using the old IP your browser will not be
able to contact your server. There is no solution to this.
However, just use relative links on your webpages, and you should be fine.


Bremgarten b. Bern, Switzerland
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message