Question from newbie

This is a discussion on Question from newbie within the Apache Web Server forums, part of the Web Server and Related Forums category; Hello, I have a local network at home for testing some things. I would like to setup a webserver ( for ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-25-2007
Johan Chat
 
Posts: n/a
Default Question from newbie

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,
  #2 (permalink)  
Old 09-25-2007
Johan Chat
 
Posts: n/a
Default Re: Question from newbie

Davide Bianchi schreef:
> 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
>


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
  #3 (permalink)  
Old 09-25-2007
Johan Chat
 
Posts: n/a
Default Re: Question from newbie

Davide Bianchi schreef:
> 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.
>


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
>

  #4 (permalink)  
Old 09-27-2007
David McKenzie
 
Posts: n/a
Default Re: Question from newbie

Johan Chat wrote:
> Davide Bianchi schreef:
>> 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.
>>

>
> 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
  #5 (permalink)  
Old 09-27-2007
Johan Chat
 
Posts: n/a
Default Re: Question from newbie

David McKenzie schreef:
> Johan Chat wrote:
>> Davide Bianchi schreef:
>>> 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.
>>>

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

> Then stop using it.
>
>
> Right?

Hello,

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

greetings,
>
>

  #6 (permalink)  
Old 09-27-2007
Johan Chat
 
Posts: n/a
Default Re: Question from newbie

Davide Bianchi schreef:
> 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
>
>


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.

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:01 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0