Apache Server configuration support - Question from newbie

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > September 2007 > Question from newbie





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Question from newbie
Johan Chat

2007-09-25, 7:34 am

Hello,

I have a local network at home for testing some things.
I would like to setup a webserver ( for my local network )
OS is Ubuntu as LAMP server.
Do I need really need to use bind and a DNS server to use this webserver
locally?

Thank you,
Davide Bianchi

2007-09-25, 7:34 am

On 2007-09-25, Johan Chat <johan.chat@fulladsl.be> wrote:
> Do I need really need to use bind and a DNS server to use this webserver
> locally?


No, you do need something to translate your server name into an ip
address, if you have few (or one) machine, you can easily put an
entry in the /etc/hosts file and obtain the same result.

Davide

--
Price has nothing to do with quality when it comes to software: you
could walk, or bounce along on a pogo-stick shoved up your XXX -
walking is free, you have to pay for the pogo-stick.
-- Adam the Tired on alt.sysadmin.recovery
Johan Chat

2007-09-25, 7:34 am

Davide Bianchi schreef:
> On 2007-09-25, Johan Chat <johan.chat@fulladsl.be> wrote:
>
> No, you do need something to translate your server name into an ip
> address, if you have few (or one) machine, you can easily put an
> entry in the /etc/hosts file and obtain the same result.
>
> Davide
>


Tanks for helping,

I did the /etc/hosts config and it works fine on my ubuntu machines.
Am I right that this only works for fixed server IP adress.
I now have "192.168.1.100 reger" in my /etc/host client machine and that
works but the server adres is fixed.
( this is not a problem but I use multiple vmware test servers)
It would be easier not having to think about it.

I also have not an equivalent solution for my windows comps.
(missing knowledge)

Johan
Davide Bianchi

2007-09-25, 7:34 am

On 2007-09-25, Johan Chat <johan.chat@fulladsl.be> wrote:
> I did the /etc/hosts config and it works fine on my ubuntu machines.
> Am I right that this only works for fixed server IP adress.


Well, if you have a small network, you most probably have only fixed
IPs. Otherwise, you need a DNS that will be updated by the dhcp server.

> I also have not an equivalent solution for my windows comps.


I think the file is

C:\Windows\System32\driver\hosts

or similar.

Davide

--
Have faith in Darwin... By the looks of it, this guy couldn't reproduce himself
if he had an installation wizard. --Andreas Skau
Johan Chat

2007-09-25, 7:34 am

Davide Bianchi schreef:
> On 2007-09-25, Johan Chat <johan.chat@fulladsl.be> wrote:
>
> Well, if you have a small network, you most probably have only fixed
> IPs. Otherwise, you need a DNS that will be updated by the dhcp server.
>


It is a small network but I use DHCP as my ADSL router has a dhcp server.

> I also have not an equivalent solution for my windows comps.
>
> I think the file is
>
> C:\Windows\System32\driver\hosts
>

Thanks again,
I will try that.


> or similar.
>
> Davide
>

David McKenzie

2007-09-27, 2:34 am

Johan Chat wrote:
> Davide Bianchi schreef:
>
> It is a small network but I use DHCP as my ADSL router has a dhcp server.
>

Then stop using it.


Right?


--
DM davidm@cia.com.au

'It would go against respecting principles and truth if you have to
respect and accept anything just because it is the other side's view.'
- Kim Jung Ill
Johan Chat

2007-09-27, 7:40 am

David McKenzie schreef:
> Johan Chat wrote:
> Then stop using it.
>
>
> Right?

Hello,

DHCP is just plain easy when using laptops.
No trouble configuring anything.

greetings,
>
>

Johan Chat

2007-09-27, 7:40 am

Davide Bianchi schreef:
> On 2007-09-25, Johan Chat <johan.chat@fulladsl.be> wrote:
>
> Well, if you have a small network, you most probably have only fixed
> IPs. Otherwise, you need a DNS that will be updated by the dhcp server.
>
>
> I think the file is
>
> C:\Windows\System32\driver\hosts
>
>


Works like a charm with vista x64
Path is c:\windows\system32\driver\etc\hosts

I really should find some time to learn the Vista UAC.
A bit confusing to have to think about user rights in windows.

Davide Bianchi

2007-09-27, 7:40 am

On 2007-09-27, Johan Chat <johan.chat@fulladsl.be> wrote:
> Path is c:\windows\system32\driver\etc\hosts


Well, I only missed the 'etc'. Not bad for someone that hasn't used
any Windows version since '95...

Davide

--
NT 5.0 so vaporous it's in danger of being added to the
periodic table as a noble gas.
-- From Slashdot.org
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com