var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
Multiple IP question
I've just acquired a remote deticated server. I am currently making preperations to move an existing site the new server.
I have been assigned 8 IPs from the server provider and would like to know how to configure the server (Fedora Linux) to accept requests on more then one of those IPs.
My end goal is to run a primary ns on one IP and a secondary ns on the other....please help.
I do realize its not recommended to run both my nameservers on one machine, but for now I have no choice.
Not the answer to your question, but you can use the same IP for both NS names...
Are you running CPanel or another control panel?
Just add aliases to your network interface: eth0:1 eth0:2 and so on.
And make startup files in /etc/sysconfig/network-scripts, or somewhere there, so you can go across reboots.
Cp ifcfg-ethg0 ifcfg-eth0:0
Cp ifcfg-ethg0 ifcfg-eth0:1
Cp ifcfg-ethg0 ifcfg-eth0:2
Cp ifcfg-ethg0 ifcfg-eth0:3 (repeat for how many IP’s you are assigning)
Edit the new IP address, and change the device to match the file name.
i.e. eth0:0, eth0:1 etc
Repeat this for all files above changing to the new IP’s and devices
Then /etc/rc.d/init.d/network restart
note: unix is case sensitive, Cp != cp, etc.
Great - thats exactly what i was wlooking for
Thanks everyone thats was perfect. Locked my self out from my server once before i got it all going
But its going now