kalau servernya pakai ip public, nggak pakai router ? Bukannya harus pakai 
router ? hmm :)

> -----Original Message-----
> From: ikhsa...@gmail.com
> Sent: Fri, 14 May 2010 09:37:57 +0700
> To: tanya-jawab@linux.or.id
> Subject: Re: [tanya-jawab] IP aliasing helpppppp
> 
> BTW ini koneksinya internet jadi ISP nya minta kalo dalam satu server
> mo ada 2 name service dia minta di server itu harus ada 2 IP
> 
> BTW sekrang settingannya sudah kurubah jadi begini h
> /etc/network/interfaces
> 
> auto eth0
> #iface eth0 inet dhcp
> iface eth0 inet static
>         address 10.254.135.222
>         netmask 255.255.255.0
>         # network 116.66.206.128
>         broadcast 10.254.135.255
>         gateway 10.254.135.254
>         # dns-* options are implemented by the resolvconf package, if
> installed
>         # dns-nameservers 10.254.28.51 10.254.28.52
>         # dns-search pajak.go.id
> 
> auto eth0:1
> iface eth0:1 inet static
>         address 10.254.135.213
>         netmask 255.255.255.0
>         # network 116.66.206.128
>         broadcast 10.254.135.255
>         gateway 10.254.135.254
>         # dns-* options are implemented by the resolvconf package, if
> installed
>         # dns-nameservers 10.254.28.51 10.254.28.52
>         # dns-search pajak.go.id
> 
> /etc/apache2/ports.conf
> Listen *:80
> <IfModule mod_ssl.c>
>     # SSL name based virtual hosts are not yet supported, therefore no
>     # NameVirtualHost statement here
>     Listen 443
> </IfModule>
> 
> /etc/apache2/sites-available/misal1
> <VirtualHost 10.254.135.222:80>
>         ServerAdmin webmas...@localhost
>         DocumentRoot /var/www/main
>         ServerName misal1.net
>         ErrorLog /var/log/apache2/misal1-error_log
>         CustomLog /var/log/apache2/misal1-access_log common
>         <Directory /var/www/main>
>                 Options Indexes FollowSymLinks MultiViews
>                 AllowOverride None
>                 Order allow,deny
>                 allow from all
>         </Directory>
> 
>         ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
>         <Directory "/usr/lib/cgi-bin">
>                 AllowOverride None
>                 Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
>                 Order allow,deny
>                 Allow from all
>         </Directory>
> 
>     Alias /doc/ "/usr/share/doc/"
>     <Directory "/usr/share/doc/">
>         Options Indexes MultiViews FollowSymLinks
>         AllowOverride None
>         Order deny,allow
>         Deny from all
>         Allow from 127.0.0.0/255.0.0.0 ::1/128
>     </Directory>
> 
> </VirtualHost>
> 
> <VirtualHost 10.254.135.213:80>
>         ServerAdmin webmas...@localhost
>         ServerName misal2.net
>         DocumentRoot /var/www/second
>         ErrorLog /var/log/apache2/misal2-error_log
>         CustomLog /var/log/apache2/misal2-access_log common
>         <Directory /var/www/second>
>                 Options Indexes FollowSymLinks MultiViews
>                 AllowOverride None
>                 Order allow,deny
>                 allow from all
>         </Directory>
> </VirtualHost>
> 
> /etc/hosts
> 127.0.0.1       localhost
> 10.254.135.222 misal1.net misal1
> 10.254.135.213 misal2.net misal2
> 
> 
> 
> 
> 
> 
> 
> 
> 2010/5/14 ikhsan alisyahbani <ikhsa...@gmail.com>:
>> jadi begini ku mo buat 2 dns dalam 1 mesin server cuma kata orang yang
>> pegang dns, dia cuma bisa kasih subdomain berdasarkan ip atau port,
>> jadi ngga mungkin dengan ip yang sama dan port yang sama ada 2 name
>> service
>> 
>> 2010/5/13 Yuda Nugrahadi <nugrah...@gmail.com>:
>>> 2010/5/12 ikhsan alisyahbani <ikhsa...@gmail.com>:
>>>> #- The primary network interface
>>>> 
>>>> auto eth0
>>>> #iface eth0 inet dhcp
>>>> iface eth0 inet static
>>>>       address 10.254.135.202
>>>>       netmask 255.255.255.0
>>>>       broadcast 10.254.135.255
>>>>       gateway 10.254.135.254
>>>> 
>>>> 
>>>> auto eth0:1
>>>> #iface eth0 inet dhcp
>>>> iface eth0:1 inet static
>>>>       address 10.254.135.213
>>>>       netmask 255.255.255.0
>>>>       broadcast 10.254.135.255
>>>>       gateway 10.254.135.254
>>>> 
>>> 
>>> yang ingin dicapai itu bagaimana ?? haruskah pakai ip alias ?? kalau
>>> mau 2 domain dalam 1 server, virtualhost saja sudah cukup
>>> 
>>> --
>>> FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
>>> Unsubscribe: kirim email ke tanya-jawab-unsubscr...@linux.or.id
>>> Arsip dan info milis selengkapnya di http://linux.or.id/milis
>>> 
>>> 
>> 
> 
> --
> FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
> Unsubscribe: kirim email ke tanya-jawab-unsubscr...@linux.or.id
> Arsip dan info milis selengkapnya di http://linux.or.id/milis

____________________________________________________________
Send your photos by email in seconds...
TRY FREE IM TOOLPACK at http://www.imtoolpack.com/default.aspx?rc=if3
Works in all emails, instant messengers, blogs, forums and social networks.

--
FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
Unsubscribe: kirim email ke tanya-jawab-unsubscr...@linux.or.id
Arsip dan info milis selengkapnya di http://linux.or.id/milis

Kirim email ke