Search the web
Sign In
New User? Sign Up
mypenguin99 · List Penguin 99
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Multiple IP different service.   Message List  
Reply Message #16919 of 17007 |
Re: [mypenguin99] Multiple IP different service.

Waalaikumsalam.

Dalam Apache boleh configure untuk listen kat IP mana.

Lepas configure dan restart Apache, nanti server tu hanya listen kat IP tu
jer dan abaikan IP lain.



2009/7/22 muhammadazwa <muhdazwa@...>

> Assalamualaikum
>
> Saya ada satu Ubuntu Server 9.04. Server ni ada 4 nic. Saya dah pun set ip
> berbeza untuk setiap nic ni seperti contoh dibawah:
>
> ============================CONTOH MULA
> auto eth2
> iface eth2 inet static
> address 192.168.0.56
> netmask 255.255.255.0
> network 192.168.0.0
> broadcast 192.168.0.255
> gateway 192.168.0.2
>
> auto eth3
> iface eth3 inet static
> address 192.168.0.57
> netmask 255.255.255.0
> network 192.168.0.0
> broadcast 192.168.0.255
> gateway 192.168.0.3
>
> auto eth1
> iface eth1 inet static
> address 192.168.0.58
> netmask 255.255.255.0
> network 192.168.0.0
> broadcast 192.168.0.255
> gateway 192.168.0.1
>
> auto eth0
> iface eth0 inet static
> address 192.168.0.59
> netmask 255.255.255.0
> network 192.168.0.0
> broadcast 192.168.0.255
> gateway 192.168.0.2
> =============================== CONTOH TAMAT
>
> Sekarang saya ada 2 apache service dan 2 tomcat service. Macam mana nak
> bind setiap satu ke setiap ip dimana semua service boleh guna port 80.
> Contoh:
>
> eth0 - Sistem A port 80 (apache)
> eth1 - Sistem B port 80 (apache)
> eth2 - Sistem C port 80 (tomcat)
> eth3 - Sistem D port 80 (tomcat)
>
> Tolong ye tunjuk ajar. Terima Kasih :)
>
>
>
> ------------------------------------
>
> Untuk mengeluarkan diri anda dari senarai email ini, hantarkan email ke :
> mypenguin99-unsubscribe@yahoogroups.com
>
> ~~khaiYahoo! Groups Links
>
>
>
>


--
Sharuzzaman Ahmat Raslan


[Non-text portions of this message have been removed]




Wed Jul 22, 2009 2:08 pm

sharuzzaman
Offline Offline
Send Email Send Email

Message #16919 of 17007 |
Expand Messages Author Sort by Date

Assalamualaikum Saya ada satu Ubuntu Server 9.04. Server ni ada 4 nic. Saya dah pun set ip berbeza untuk setiap nic ni seperti contoh dibawah: ...
muhammadazwa
Offline Send Email
Jul 22, 2009
8:24 am

Waalaikumsalam. Dalam Apache boleh configure untuk listen kat IP mana. Lepas configure dan restart Apache, nanti server tu hanya listen kat IP tu jer dan...
Sharuzzaman Ahmat Ras...
sharuzzaman
Offline Send Email
Jul 22, 2009
2:09 pm

dekat VirtualHost punya section rasanya untuk assign IP:port --md 2009/7/22 Sharuzzaman Ahmat Raslan <sharuzzaman@...> ... [Non-text portions of this...
Maznan Deraman
maznanderaman
Offline Send Email
Jul 22, 2009
2:48 pm

Assalamualaikum. Ni Status setelah saya ikut nasihat saudara2 kat sini :) eth0 - Sistem A port 80 (apache) - SUCCESS eth1 - Sistem B port 80 (apache) - SUCCESS...
muhammadazwa
Offline Send Email
Sep 13, 2009
2:01 am
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help