Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache - Vhosts
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Gulliver
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2002
Posts: 146
Location: Hamburg, Germany

PostPosted: Mon Nov 25, 2002 1:43 pm    Post subject: Apache - Vhosts Reply with quote

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
View user's profile Send private message
darktux
Veteran
Veteran


Joined: 16 Nov 2002
Posts: 1086
Location: Coimbra, Portugal

PostPosted: Mon Nov 25, 2002 2:12 pm    Post subject: Reply with quote

Dunno your problem, but maybe this will help :-)
Back to top
View user's profile Send private message
magoo
n00b
n00b


Joined: 06 May 2002
Posts: 36
Location: Halifax, Canada

PostPosted: Mon Nov 25, 2002 9:41 pm    Post subject: Re: Apache - Vhosts Reply with quote

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
View user's profile Send private message
Gulliver
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2002
Posts: 146
Location: Hamburg, Germany

PostPosted: Tue Nov 26, 2002 6:38 am    Post subject: Reply with quote

I solved the problem already.
Expect from some changes in the Vhosts.conf I had to uncomment the include-line for the Vhosts.conf :roll:
_________________
Many greetings from Germany,
Julian
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum