![]() |
|
#1
|
|||
|
|||
2 domains 1 computerI 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
|
|||
|
|||
Re: 2 domains 1 computerJust 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
|
|||
|
|||
Re: 2 domains 1 computerNo-Ip is the best thing for these sort of things, only problem is that you have to buy the domain from them.
|
|
#4
|
||||
|
||||
Re: 2 domains 1 computerQuote:
|
|
#5
|
|||
|
|||
Re: 2 domains 1 computerOpen sources must be for that.
|
Recent GIDBlog
Welcome to Baghdad by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
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