homepage Welcome to WebmasterWorld Guest from 54.234.2.94
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
Dedicated Server - Red Hat Linux / Plesk - Need help
Assigning IPs to domains
born2drv




msg:908211
 11:24 pm on Nov 15, 2002 (gmt 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! :)

Thanks.

 

seindal




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

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é.

roneill




msg:908213
 12:03 am on Nov 17, 2002 (gmt 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.

Richard

seindal




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

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved