Hello,
Just install new box with two IP public on centos 5.9
================ifcfg-eth0 config======================
# Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+
# Configuration for eth0
DEVICE=eth0
BOOTPROTO=none
# This line ensures that the interface will be brought up during boot.
ONBOOT=yes
# eth0 - This is the main IP address that will be used for most outbound connections.
# The address, netmask and gateway are all necessary.
IPADDR=111.111.111.111
NETMASK=255.255.255.0
GATEWAY=xxx.xxx.xxx.xxx
============================================================
===============ifcfg-eth0:0 config==========================
# Configuration for eth0:0
DEVICE=eth0:0
BOOTPROTO=none
# This line ensures that the interface will be brought up during boot.
ONBOOT=yes
# eth0:0
IPADDR=222.222.222.222
NETMASK=255.255.255.0
============================================================
The question is:
the main IP for cPanel are 111.111.111.111 (for all sites)
but why all my sites redirect into 222.222.222.222 (which i put only for one dedicated site).
does anyone have experience like me?
Regards,
Zurrie
Just install new box with two IP public on centos 5.9
================ifcfg-eth0 config======================
# Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+
# Configuration for eth0
DEVICE=eth0
BOOTPROTO=none
# This line ensures that the interface will be brought up during boot.
ONBOOT=yes
# eth0 - This is the main IP address that will be used for most outbound connections.
# The address, netmask and gateway are all necessary.
IPADDR=111.111.111.111
NETMASK=255.255.255.0
GATEWAY=xxx.xxx.xxx.xxx
============================================================
===============ifcfg-eth0:0 config==========================
# Configuration for eth0:0
DEVICE=eth0:0
BOOTPROTO=none
# This line ensures that the interface will be brought up during boot.
ONBOOT=yes
# eth0:0
IPADDR=222.222.222.222
NETMASK=255.255.255.0
============================================================
The question is:
the main IP for cPanel are 111.111.111.111 (for all sites)
but why all my sites redirect into 222.222.222.222 (which i put only for one dedicated site).
does anyone have experience like me?
Regards,
Zurrie