WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Netzwerke (http://www.wcm.at/forum/forumdisplay.php?f=32)
-   -   apache2 Konfiguration (http://www.wcm.at/forum/showthread.php?t=191058)

xomage 06.05.2006 01:44

apache2 Konfiguration
 
Hallo zusammen,

ich habe neulich einen RootServer bei Hetzner bestellet. Erfolgreich konfiguriert und kann sogar mein Domain über Apache WebServer erreichen.

Jetzt habe ich aber einen Problem! Ich kann den zweiten Domain nicht erreichen, den ich al VirtualHost konfiguriert habe und weiss nicht wo mein Fehler ist.

Unten steht die httpd.conf.
Die IP für den 1. Domain ist 85.10.208.162
Die IP für den 1. Domain ist 213.133.104.4

Beide Domains sind bei DENIC schon registriert und der DNS-Eintrag für den zweiten Domain sieht genau so aus:

Was mache ich falsch oder was welche Einstellungen muss ich noch machen, den ich nicht gemacht habe?

Könnte jemand mir freundlicheweiser Hinweise geben? Feedback werdet ihr bestimmt zurück bekommen. Danke!

-----------------------------------------------------
$TTL 7200
@ IN SOA ns1.your-server.de. postmaster.your-server.de. (
2006050201 ; serial
86400 ; refresh
1800 ; retry
3600000 ; expire
86400 ) ; minimum
@ IN NS ns3.second-ns.de.
@ IN NS ns.second-ns.com.
@ IN NS ns1.your-server.de.
@ IN MX 10 mail
ftp IN CNAME www
imap IN CNAME mail
pop IN CNAME mail
relay IN CNAME mail
smtp IN CNAME mail
@ IN A 213.133.104.4
mail IN A 213.133.104.4
www IN A 213.133.104.4
control 601 IN A 213.133.104.4
-----------------------------------------------------

Die Datei httpd.conf:

NameVirtualHost *
<VirtualHost *>
ServerAdmin webmaster@localhost
ServerName mydomain1.com
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# This directive allows us to have apache2's default start page
# in /apache2-default/, but still have / go to the right place
#RedirectMatch ^/$ /apache2-default/
</Directory>

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>

ErrorLog /var/log/apache2/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog /var/log/apache2/access.log combined
ServerSignature On

Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>

</VirtualHost>

<VirtualHost www.mydomain2.de>
ServerName mydomain2.de
DocumentRoot /home/www/user1
ErrorLog /www/user1/logs/error_log
TransferLog /www/user1/logs/access_log
</VirtualHost>

xomage 07.05.2006 01:45

apache2 Konfiguration
 
Es hat sich erledigt, trotzdem vielen Dank!

Gruß,
xomage


Alle Zeitangaben in WEZ +2. Es ist jetzt 23:48 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag