Skip to main content

Thread: Network interfaces, hosts file, etc...


hi

i'm using ubuntu 10.04. i've had no problems @ following instructions provided setting "perfect server" ispconfig 3 on @ howtoforge. have few questions though...

in "/etc/network/interfaces" see following in example provided...

# file describes network interfaces available on system
# , how activate them. more information, see interfaces(5).

# loopback network interface
auto lo
iface lo inet loopback

# primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.100
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
where locate each of these ip's can change ones in example above correct ones , need include of them?.

also, in "/etc/hosts" example following...

127.0.0.1 localhost.localdomain localhost
192.168.0.100 server1.example.com server1

# following lines desirable ipv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
i have business account dedicated ip address. should use instead of "192.168.0.100"?.

things is, have 2 different domains on local ubuntu 10.04 server , after dns resolved successfully, each time try bring php page tell me file not found (static pages worked fine).

finally, not using server edition of ubuntu 10.04 (i'm using desktop edition server) , hostname "jaybird-desktop" , yet in ispconfig it's shown "jaybird.domain.com". should quick "sudo hostname newname" , change computer's hostname match hostname shown ispconfig (in other words, rid of "-desktop" part)?.

ok, 1 last 1 (sorry, still new this). tutorial says use "192.168.0.100" in order view site locally , yet i've tried adding (or replacing) in both interfaces and/or hosts file, rebooting, etc , still no cigar. how sites viewed locally?.

i've used linux lot of years until now, of hosting has been done various wamps on windows machine little different me .

again help!.

- cb

you said you're using desktop edition. desktop edition uses network manager networking, whereas server version uses /etc/network/interfaces. looks desktop version adding domain hostname.

either use server version tutorial instructs or don't follow tutorial @ all.


Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] Network interfaces, hosts file, etc...


Ubuntu

Comments

Popular posts from this blog

Flash Builder 4 - Debugger fails to connect

"Error compiling the data model"

Thread: Ubuntu not working - mount /dev on /root/dev failed : no such file or directory