GIDForums  

Go Back   GIDForums > Web Hosting Forums > Apache Web Server Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 22-May-2007, 03:24
Stormfire Stormfire is offline
New Member
 
Join Date: May 2007
Posts: 1
Stormfire is on a distinguished road

2 domains 1 computer


I know this has been asked before, and not sure if to post on the end of it or start a new thread, I have tryed to set a virtual host up using the config that has been listed before, the problem is no matter which config I use the results are the same, in that only the default is being server and not the dir that is required, I'm using open suse 10.2 which has apache 2 in it, I've run the command httpd2-prefork -S to dump the virtual host, to try to work out what is wrong, here are the 2 config files and the dump, please see if any one can work out what the problem is.

NameVirtualHost *:80

<VirtualHost *:80>
ServerName www.stormfire.org
ServerAlias www.stormfire.org *.stormfire.org
ServerAdmin
DocumentRoot /srv/www/htdocs/stormfire

</VirtualHost>

<VirtualHost *:80>
ServerName andrew.skirving.org
ServerAlias andrew.skirving.org *.andrew.skirving.org
ServerAdmin
DocumentRoot /srv/www/htdocs/brittany
</VirtualHost>

linux-gzt8:/usr/sbin # httpd2-prefork -S
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
*:80 is a NameVirtualHost
default server www.stormfire.org (/etc/apache2/vhosts.d/vhost.conf:4)
port 80 namevhost www.stormfire.org (/etc/apache2/vhosts.d/vhost.conf:4)
port 80 namevhost andrew.skirving.org (/etc/apache2/vhosts.d/vhost.conf:12)
port 80 namevhost www.stormfire.org (/etc/apache2/vhosts.d/yast2_vhosts.conf:1)
port 80 namevhost andrew.skirving.org (/etc/apache2/vhosts.d/yast2_vhosts.conf:7)
Syntax OK





NameVirtualHost *:80

<VirtualHost www.stormfire.org:80>
ServerName www.stormfire.org
ServerAlias www.stormfire.org *.stormfire.org
ServerAdmin
DocumentRoot /srv/www/htdocs/stormfire

</VirtualHost>

<VirtualHost andrew.skirving:80>
ServerName andrew.skirving.org
ServerAlias andrew.skirving.org *.andrew.skirving.org
ServerAdmin
DocumentRoot /srv/www/htdocs/brittany
</VirtualHost>



[Tue May 22 19:03:18 2007] [warn] VirtualHost andrew.skirving.org:80 overlaps with VirtualHost andrew.skirving.org:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue May 22 19:03:18 2007] [warn] VirtualHost andrew.skirving.org:80 overlaps with VirtualHost andrew.skirving.org:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue May 22 19:03:18 2007] [warn] VirtualHost www.stormfire.org overlaps with VirtualHost www.stormfire.org, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue May 22 19:03:18 2007] [warn] NameVirtualHost *:80 has no VirtualHosts
VirtualHost configuration:
144.132.93.83:80 www.stormfire.org (/etc/apache2/vhosts.d/vhost.conf:4)
216.98.141.250:80 andrew.skirving.org (/etc/apache2/vhosts.d/vhost.conf:12)
69.72.142.98:80 andrew.skirving.org (/etc/apache2/vhosts.d/vhost.conf:12)
Syntax OK
  #2  
Old 04-Sep-2007, 20:41
Johnnyrotton Johnnyrotton is offline
New Member
 
Join Date: Aug 2007
Posts: 6
Johnnyrotton is on a distinguished road

Re: 2 domains 1 computer


Just got mine working, check the my post.
http://www.gidforums.com/showthread.php?p=63314#post63314
I ended using ip and a couple of different settings, I posted my settings.

Good luck..
  #3  
Old 30-Oct-2007, 12:14
doom1992 doom1992 is offline
Junior Member
 
Join Date: Jul 2007
Posts: 98
doom1992 is on a distinguished road

Re: 2 domains 1 computer


No-Ip is the best thing for these sort of things, only problem is that you have to buy the domain from them.
  #4  
Old 14-Dec-2007, 07:05
kassiopeya's Avatar
kassiopeya kassiopeya is offline
Account Disabled
 
Join Date: Jan 2007
Posts: 32
kassiopeya is on a distinguished road

Re: 2 domains 1 computer


Quote:
Originally Posted by doom1992
No-Ip is the best thing for these sort of things, only problem is that you have to buy the domain from them.
Is that expensive?
  #5  
Old 26-Dec-2007, 07:44
goodiny goodiny is offline
Account Disabled
 
Join Date: Mar 2007
Posts: 41
goodiny is an unknown quantity at this point

Re: 2 domains 1 computer


Open sources must be for that.
 
 

Recent GIDBlogWelcome to Baghdad by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FREE DOMAINS! FREE HOSTING!! FREE SITEBUILDER!! 300mb Space 3000mb BW, NO ADS!! Ammo Free Web Hosting 1 22-Oct-2006 18:39
FREE DOMAINS! FREE HOSTING!! FREE SITEBUILDER!! 300mb Space 3000mb BW, NO ADS!! Ammo Free Web Hosting 0 22-Sep-2006 16:00
HostNucleon - 35% Discount on all Shared/Reseller Packages - Starting at $3.22 HeadNucleon Web Hosting Advertisements & Offers 1 15-May-2006 17:54
35% Off on all Shared/Reseller Packages - 2 GB / 35 GB Starting at $3.22 HeadNucleon Web Hosting Advertisements & Offers 0 14-Apr-2006 21:03
Xtreme-Webhost®Up to 2GB Free Web Hosting Jason7fd Free Web Hosting 0 24-Nov-2005 23:43

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 08:10.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.