apache and clients

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

apache and clients

Debian EN
Hi folks!

Inside a small lan (less 10 pc) I've a server with apache.

I've to install bind/dnsmasq to automatically resolve IP of apache or
can I use clients's host file?

What's the easy/fast way to resolve IP of this server?

thanks

Pol

Reply | Threaded
Open this post in threaded view
|

Re: apache and clients

Norbert Kiszka
Dnia 2016-06-19, nie o godzinie 14:49 +0200, Pol Hallen pisze:

> Hi folks!
>
> Inside a small lan (less 10 pc) I've a server with apache.
>
> I've to install bind/dnsmasq to automatically resolve IP of apache or
> can I use clients's host file?
>
> What's the easy/fast way to resolve IP of this server?
>
> thanks
>
> Pol
>

> can I use clients's host file?

Why not? Its fastest way and it works even when dns sv is down.


Reply | Threaded
Open this post in threaded view
|

Re: apache and clients

Michael Milliman


On 06/19/2016 08:02 AM, Norbert Kiszka wrote:

> Dnia 2016-06-19, nie o godzinie 14:49 +0200, Pol Hallen pisze:
>> Hi folks!
>>
>> Inside a small lan (less 10 pc) I've a server with apache.
>>
>> I've to install bind/dnsmasq to automatically resolve IP of apache or
>> can I use clients's host file?
>>
>> What's the easy/fast way to resolve IP of this server?
>>
>> thanks
>>
>> Pol
>>
>> can I use clients's host file?
> Why not? Its fastest way and it works even when dns sv is down.
As long as dhcp is not in use...with hosts file, the server must have
static IP address, which is likely with a small network such as OP
describes.

--
73's
Mike, WB5VQX

Reply | Threaded
Open this post in threaded view
|

Re: apache and clients

Karl E. Jorgensen
In reply to this post by Debian EN
On Sun, Jun 19, 2016 at 02:49:42PM +0200, Pol Hallen wrote:
> Hi folks!
>
> Inside a small lan (less 10 pc) I've a server with apache.
>
> I've to install bind/dnsmasq to automatically resolve IP of apache or can I
> use clients's host file?
>
> What's the easy/fast way to resolve IP of this server?

It depends on what the clients support...

If they support mDNS, then installing something like avahi-daemon on
the server will make it broadcast it's presence via mDNS, and
(assuming that clients understand mDNS) it can then be reach as
"servername.local" (where "servername" is your host name).

--
Hope this helps