Welcome to WebmasterWorld Guest from

Forum Moderators: bakedjake

Message Too Old, No Replies

Dedicated Server - Red Hat Linux / Plesk - Need help

Assigning IPs to domains

11:24 pm on Nov 15, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:May 16, 2002
votes: 0

I just got a dedicated server. They are already pointing 2 of my sites to my dedicated server. It has 3 IP's assinged to it, I'd like one IP assigned to each site.

It's running Red Hat Linux and Plesk. If anyone could help me get my 2 sites up and running, I would very much appreciate it (and pay you, a modest fee).

I need help ASAP! :)


12:10 am on Nov 16, 2002 (gmt 0)

Preferred Member

10+ Year Member

joined:Oct 28, 2002
votes: 0


I have never used Plesk, but I see it is apache based.
Does it have a gui interface to administration?

Do you have all three IPs configured on the server? Does it take traffic on all three? If not, you have to set up some IP aliases on the (probable) single netword interface card.

As for apache, I usually do these things by hand, editing the main apache configuration file. It is usually called apache.conf or httpd.conf, and it'll be in /etc or /etc/apache or /etc/httpd (I'm a Debian user, not RH).

Apache will by default listen on all available IP, but you have to define what to put there. For that you use <VirtualHost> sections.

<VirtualHost IP1>
ServerName www.ip1.com

<VirtualHost IP2>
ServerName www.ip2.com

<VirtualHost IP3>
ServerName www.ip3.com

You have to fill in the necessary stuff in each section to define the three sites.

I hope this can help you a bit.


12:03 am on Nov 17, 2002 (gmt 0)

New User

10+ Year Member

joined:Nov 8, 2002
votes: 0

Here's how to assign an IP to a site in Plesk:

Go to the Plesk Control Panel;
Click on the Domain Name;
Click on Hosting;
Select Physical Hosting and press next;
On the first check box (Virtual Hosting) select IP-Based;
From the drop down box select the IP you want to assign to this Domain;
Click Update and everything is set.


12:16 am on Nov 17, 2002 (gmt 0)

Preferred Member

10+ Year Member

joined:Oct 28, 2002
votes: 0

That's too easy. It is almost cheating :)