Operating System - Linux
1748288 Members
3330 Online
108761 Solutions
New Discussion юеВ

Multiple Web sites on ADSL

 
SOLVED
Go to solution
Sivasingam Santhakumar
Frequent Advisor

Multiple Web sites on ADSL

Dear Admins,

We have a web site hosted on RH 9. This box is capable enough to host 2 more small web sites. Current web site is IP is IpCop-FW external IP address connected to a ADSL modem. I am planning to put a hub betwwen IPcop and the modem host 2 more web sites. What are the implecations? Or any other better cost-effective solution there?

Thanks
6 REPLIES 6
Jerome Henry
Honored Contributor

Re: Multiple Web sites on ADSL

Hi,
A hub is a layer1 device, it shouldn't interfere with your config. But I don't understand what is the purpose of it. don't you intend to host your other sites on the same rh9 box ?
You can lean only on what resists you...
Alexander Chuzhoy
Honored Contributor
Solution

Re: Multiple Web sites on ADSL

You can define 2 or more web sites on the same IP address.Add
NameVirtualHost
directive to httpd.conf
Then in
the name will be the website's name and the httpd will know to serve clients requests to this name.
Sivasingam Santhakumar
Frequent Advisor

Re: Multiple Web sites on ADSL

Alexander,

Thanks for reminding the Virtual Host part. I will follow the virtual host path.

Jerome,

Yes, you are right. I don't need a hub.

Thanks your time.
I.Delic
Super Advisor

Re: Multiple Web sites on ADSL

Marco Di Ianni
Frequent Advisor

Re: Multiple Web sites on ADSL

Take a look to VirtualHosts template in httpd.conf file.

Bye!
Steven E. Protter
Exalted Contributor

Re: Multiple Web sites on ADSL

You have two choices:

You can go with IP based virtual servers. The problem is you need an ip address for each server.

You can also go with named based hosting which runs all the websites off the same IP address. Since most ADSL has limits on IP addresses, you probably want to go named based.

You of course need a fixed ip addy.

Docs:
http://httpd.apache.org/docs-2.0/vhosts/name-based.html
http://httpd.apache.org/docs-2.0/vhosts/


SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com