Results 1 to 5 of 5
dear all
hope someone can help because im getting myself comfused
Ok what i want to do is host 10 top level domains from my server at home, these are ...
- 06-07-2006 #1Just Joined!
- Join Date
- Jun 2006
- Posts
- 1
Hosting multiple sites - am i doing it right
dear all
hope someone can help because im getting myself comfused
Ok what i want to do is host 10 top level domains from my server at home, these are for friends and some for a small business venture im setting up
my server is sat on my network and is attached via my router to the internet, the server has a static ip of 192.168.2.2 and my routers firewall forwards all web traffic to this ip
my internet connection is dsl and has a dynamic ip so i registered all my top level domains with a company called microtech who then forward them to my dynamic ip
ive installed apache and setup name based virtual hosts for each of the domains however they all point to the first virtual domain im confused as to why and is this a header problem being passed through from microtech
so is it possible to host multiple top level domains on my server using dynamic ip forwarding and apache to serve up the sites
any help please
- 06-07-2006 #2Linux User
- Join Date
- Aug 2005
- Location
- Italy
- Posts
- 401
Uhm... I'm not an expert...
...but for what I know, to implement multiple top-level web sites you should have a proper DNS configuration, wich a dynamic IP DNS would not offer...
...however you're able to configure a second level multiple configuration!
When using Windows, have you ever told "Ehi... do your business?"
Linux user #396597 (http://counter.li.org)
- 06-07-2006 #3
I believe apache can handle this without having to mess with dns configuration... i tend to run several sites using dyndns. i'll pick a tld from dyndns then register several subdomains with them... but the mechanics are the same... i think you've just got a configuration problem... post the virtualhosts portion of your /etc/apache/httpd.conf.
i really don't know much about apache2... if thats what ur running maybe someone else on here can help you but the config file would be /etc/apache2/sites-available/* it looks like there will be a seperate file for each virtualhost.
- 06-07-2006 #4
I believe your are looking for name based virtual host
http://httpd.apache.org/docs/2.0/vhosts/name-based.html
if the link doesn't help try searching the forum. I have participated in several threads helping people work this out.
- 06-08-2006 #5Just Joined!
- Join Date
- Nov 2005
- Posts
- 59
name and ip based virtual hosting in apache
For this you need to check the ip based virtual hosts configurations in apache this is very easy tutorial with examples.
Creating Namebased and iP based Virtual hosts


Reply With Quote
