LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 02-10-2006, 07:59 PM   #1
koppaspider
LQ Newbie
 
Registered: Feb 2006
Posts: 1

Rep: Reputation: 0
How to assign diffrent ip/hostnames to diffrent services


How do you assign a diffrent ip address or hostname to diffrent services on the same machine. I mean like I want Webmin to run on one ip/and or hostname, and I want usermin to run on a diffrent ip/and or hostname. I would also like to run VNC on a diffrent ip than the one assigned by dhcp. You see we've got a terminal server, connected to a novell server. And for security reasons of my own, I would like to assign diffrent hostnames to the services if possible. Even IPs work. I just need them to be diffrent. Is there anyway to do this?
 
Old 02-10-2006, 09:03 PM   #2
sipsipi
Member
 
Registered: Dec 2005
Location: Chicago
Distribution: Fedora and Redhat
Posts: 86

Rep: Reputation: 15
For instance, and i don't know how much this will help, in your httpd.conf file, you can setup:

<VirtualHost IP.IP.IP.IP:80>
Directives here
</VirtualHost>

For each web service. Apache does this, but I am not sure about VNC binding to a particular IP. What you will also want to do, is setup virtual IP's on one NIC. (Depending on your Distro) is
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network-scripts/ifcfg-eth0:1
and so on for each IP address you are going to use
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
fedore diffrent core carlainz Linux - Laptop and Netbook 2 12-01-2005 04:49 PM
Can you tell me some diffrent between LILO and GRUB? Khmer Linux - Newbie 5 10-21-2005 09:39 AM
What is diffrent between LILO and GRUP ? Khmer Linux - Newbie 6 09-08-2005 08:13 AM
how diffrent is AIX compared to linux?? trey85stang AIX 33 01-30-2005 01:37 PM
Diffrent Distributions On Same System? shadowman21i Linux - Distributions 2 10-08-2002 05:56 AM


All times are GMT -5. The time now is 01:54 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration