ich habe einen vServer der auf Debian 3.1 (sarge) aufbaut.
Nun habe ich Xampp dort draufgehauen...
hab bei meinem Hoster auch eine domain angemeldet. hab gelesen das man das mit Virtual host machen muss... so bin net der beste in sowas aber habs probiert... nur is das bei Xampp ja so das es eine httpd-vhost.conf gibt und eine httpd.conf.
In der httpd.conf muss man doch den eintrag Include etc/extra/httpd-vhosts.conf auskommentieren oder? damit der die liesst.
Aufjedenfall wenn ich das mache dann will Xampp nicht mehr starten und da steht nur:
- Code: Select all
Error 1! Couldn't start Apache!
XAMPP: Starting diagnose...
XAMPP: Sorry, I've no idea what's going wrong.
XAMPP: Please contact our forum http://community.apachefriends.org/f/
wenn ich wieder ein # davor mache startet alles ohen probs.
wie mache ich denn dann eine Subdomain?
Achso meine httpd-vhosts.conf sieht so aus:
- Code: Select all
#
# Virtual Hosts
#
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs/2.2/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
#Use name-based virtual hosting.
# Ensure that Apache listens on port 80
Listen 80
# Listen for virtual host requests on all IP addresses
NameVirtualHost www.is-powning.de
<VirtualHost www.asod.is-powning.de>
DocumentRoot /var/www/clanpage
ServerName www.asod.is-powning.de
# Other directives here
</VirtualHost>
Hab ich i.was falschgemacht?
Vielen dank schonmal