Welcome to WebmasterWorld Guest from 23.20.37.222

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)

WebmasterWorld Senior Member 10+ Year Member



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! :)

Thanks.

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

10+ Year Member



Hi,

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>

<VirtualHost IP2>
ServerName www.ip2.com
...
</VirtualHost>

<VirtualHost IP3>
ServerName www.ip3.com
...
</VirtualHost>

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

I hope this can help you a bit.

René.

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

10+ Year Member



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.

Richard

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

10+ Year Member



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

Featured Threads

Hot Threads This Week

Hot Threads This Month