View previous topic :: View next topic |
Author |
Message |
Gulliver Tux's lil' helper
Joined: 18 Apr 2002 Posts: 146 Location: Hamburg, Germany
|
Posted: Mon Nov 25, 2002 1:43 pm Post subject: Apache - Vhosts |
|
|
Hi,
I am trying to set up Apache with a Virtual Host.
The main-domain of the server is www.jusst.de. Now the domain www.schule-eschenweg.de is hosted also on this server. But it should have it's own DocumentRoot. So I editet the Vhosts.conf as following:
Code: |
#This is needed for Frontpage support
Port 80
ServerRoot /etc/apache
ResourceConfig /dev/null
AccessConfig /dev/null
################# Named VirtualHosts
NameVirtualHost *
<VirtualHost 212.12.33.223>
ServerName www.schule-eschenweg.de
#ServerPath /domain
DocumentRoot /shared/eschenweg
</VirtualHost>
|
But if I go to www.schule-eschenweg.de I come still to the main-site.
Or could it be a DNS-Problem? _________________ Many greetings from Germany,
Julian |
|
Back to top |
|
|
darktux Veteran
Joined: 16 Nov 2002 Posts: 1086 Location: Coimbra, Portugal
|
Posted: Mon Nov 25, 2002 2:12 pm Post subject: |
|
|
Dunno your problem, but maybe this will help |
|
Back to top |
|
|
magoo n00b
Joined: 06 May 2002 Posts: 36 Location: Halifax, Canada
|
Posted: Mon Nov 25, 2002 9:41 pm Post subject: Re: Apache - Vhosts |
|
|
Gulliver wrote: |
Code: |
################# Named VirtualHosts
NameVirtualHost *
<VirtualHost 212.12.33.223>
ServerName www.schule-eschenweg.de
#ServerPath /domain
DocumentRoot /shared/eschenweg
</VirtualHost>
|
|
change the 'NameVirtualHost *' to 'NameVirtualHost 212.12.33.223' and see if that solves the problem. _________________ magoo |
|
Back to top |
|
|
Gulliver Tux's lil' helper
Joined: 18 Apr 2002 Posts: 146 Location: Hamburg, Germany
|
Posted: Tue Nov 26, 2002 6:38 am Post subject: |
|
|
I solved the problem already.
Expect from some changes in the Vhosts.conf I had to uncomment the include-line for the Vhosts.conf _________________ Many greetings from Germany,
Julian |
|
Back to top |
|
|
|