View previous topic :: View next topic |
Author |
Message |
Gulliver Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Blade Runner/movie_blade_runner_howl.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
darktux Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/d5e4bdd03dfd1b80db613.jpg)
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 ![Smile :-)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
magoo n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/18de7c843cd7176a256f0.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
Gulliver Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Blade Runner/movie_blade_runner_howl.gif)
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 ![Rolling Eyes :roll:](images/smiles/icon_rolleyes.gif) _________________ Many greetings from Germany,
Julian |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|