[confixx] zweite domain nur mit www erreichbar

Plesk, Confixx, Froxlor, SysCP, SeCoTo, IspCP, etc.
Post Reply
wneth
Posts: 38
Joined: 2003-07-12 22:05

[confixx] zweite domain nur mit www erreichbar

Post by wneth »

Hallo!
Ich habe bei einem Account 2 Domains eingerichtet.
Die erste Domain lässt sich mit und ohne www aufrufen.
Bei der zweiten geht dies leider nur MIT www, ohne nicht!
ServerName domain1.de
ServerAlias http://www.domain1.de web1.sowieso.net http://www.domain2.de domain2.de

^-- So steht es in der confixx_vhost.conf

Eingesetzt wird Confixx 2.0.11 auf SuSE 8.1 auf StratoServer.

Wo liegt das Problem!?
wneth
Posts: 38
Joined: 2003-07-12 22:05

Re: [confixx] zweite domain nur mit www erreichbar

Post by wneth »

Habs gelöst!

man muss in /etc/hosts nur die richtige ip und hostname eintragen :wink:
distanzcheck
Posts: 531
Joined: 2003-01-09 08:58
Location: NRW

Re: [confixx] zweite domain nur mit www erreichbar

Post by distanzcheck »

kannst mal genau erklären was da wo eingetragen hast ?

Habe es nach dem 1&1 Howto versucht, leider ohne erfolg

Das meine hosts datei

Code: Select all

#
# hosts         This file describes a number of hostname-to-address
#               mappings for the TCP/IP subsystem.  It is mostly
#               used at boot time, when no name servers are running.
#               On small systems, this file can be used instead of a
#               "named" name server.
# Syntax:
#    
# IP-Address  Full-Qualified-Hostname  Short-Hostname
#

127.0.0.1	localhost

# special IPv6 addresses
::1             localhost ipv6-localhost ipv6-loopback

fe00::0         ipv6-localnet

ff00::0         ipv6-mcastprefix
ff02::1         ipv6-allnodes
ff02::2         ipv6-allrouters
ff02::3         ipv6-allhosts

127.0.0.2	local 	linux
Dirk
wneth
Posts: 38
Joined: 2003-07-12 22:05

Re: [confixx] zweite domain nur mit www erreichbar

Post by wneth »

So sieht es auch bei mir aus.

Du machst folgendes (ich gehe davon aus dass du bei Strato bist):

1. Ã?ffne die /etc/hosts
2. Mach dir einfach eine neue Zeile ;)
3. Tipp nun dort ein...

Code: Select all

xx.xx.xx.xx hxxxx.serverkompetenz.de

Musst du nurnoch durch deine IP und Hostnamen ersetzen.
Speicher das ganze und restarte den Apache.

Fertig!


Danach ging alles wie gewohnt.
Post Reply