Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 10-03-2009, 08:44 AM   #1
donnie
Confirmed User
 
Join Date: Jan 2003
Posts: 1,630
Second IP in CentOS

I am running CentOS on my server and I would like to host more than one domain and use unique IP for each one.

Server came set up with only one IP but I have been assigned 10 more IP?s.

Is there any guide on how to do this? I could ask my host to do it for me but I want to learn how it is done?

Also I am using DirectAdmin on this server if that makes any difference...
donnie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-03-2009, 09:00 AM   #2
camgirlshide
Confirmed User
 
Join Date: Jan 2005
Posts: 1,558
add virtual interface 1 to eth0:
ifconfig eth0:1 <ipaddress> netmask <netmask>

or, install webmin and click on add virtual interface
__________________
Useful adult webmaster links -
Alphabetical list of solo models with webcam
Stats on my best converting affiliate programs - camgirlshide webmaster blog
complete list of affiliate programs I use.
camgirlshide is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-03-2009, 09:17 AM   #3
Jarmusch
 
 
Industry Role:
Join Date: May 2003
Posts: 12,464
To do it through DirectAdmin, login as admin. There you can add new IP's in the IP Management page.

If you want each domain to have it's own IP, you will have to create a new user account for each domain. You can do that at reseller level

Last edited by Jarmusch; 10-03-2009 at 09:18 AM..
Jarmusch is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-03-2009, 10:11 AM   #4
split_joel
Confirmed User
 
Join Date: Jan 2005
Posts: 2,270
Quote:
Originally Posted by donnie View Post
I am running CentOS on my server and I would like to host more than one domain and use unique IP for each one.

Server came set up with only one IP but I have been assigned 10 more IP?s.

Is there any guide on how to do this? I could ask my host to do it for me but I want to learn how it is done?

Also I am using DirectAdmin on this server if that makes any difference...
from shell do the following

nano /etc/sysconfig/network-scripts/ifcfg-eth0:1
DEVICE=eth0:0
BOOTPROTO=static
IPADDR=IPADDRESS
ONBOOT=yes

save the file then type

service network restart

or in direct admin

Login as your main admin account, and look for the ip manager

good luck
__________________
E-mail marketing - Automation Scripting - IP Space
AIM: splitjoelp ICQ: 254759453 skype - splitjoelp 702-941-6465
split_joel is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.