VirtualHost Problem

Alles, was den Apache betrifft, kann hier besprochen werden.

VirtualHost Problem

Postby redliner51 » 01. January 2009 16:06

Hey Guys!

Code: Select all
NameVirtualHost 78.47.102.9:80

<VirtualHost 78.47.102.9:80>
ServerName www.albazaz.de
ServerAlias albazaz.de www.mxsd.de mxsd.de
DocumentRoot /web/melixer
</VirtualHost>

<VirtualHost 78.47.102.9:80>
ServerName modernizers.albazaz.de
DocumentRoot /web/modernizers
</VirtualHost>

<VirtualHost 78.47.102.9:80>
ServerName phpmyadmin.mxsd.de
ServerAlias phpmyadmin.albazaz.de
DocumentRoot /web/phpmyadmin
</VirtualHost>

<VirtualHost 78.47.102.9:80>
ServerName cp.albazaz.de
ServerAlias cp.mxsd.de
DocumentRoot /web/cp
</VirtualHost>

<VirtualHost 78.47.102.9:80>
ServerName ebay.albazaz.de
ServerAlias ebay.mxsd.de
DocumentRoot /web/ebay
</VirtualHost>


This is the VirtualHost part of my httpd.conf... and all vhost do their work fine beside the ebay.albazaz.de any ebay.mxsd.de...
wenn you try to connect with the browser it says there is no host...
where can be the problem?? i'm searching 2 hours...
redliner51
 
Posts: 3
Joined: 01. January 2009 16:01

Re: VirtualHost Problem

Postby Nobbie » 01. January 2009 16:20

>wenn you try to connect with the browser it says there is no host...

There is no host - I cannot find ANY "ebay" inside your VirtualHosts. If you want to have ebay.albazaz.de as virtualhost (for example)), you should add it to the ServerAlias.

And: did you assign an IP to ebay.albazaz.de? Is it a valid domain?
Nobbie
 
Posts: 8768
Joined: 09. March 2008 13:04

Re: VirtualHost Problem

Postby redliner51 » 01. January 2009 17:09

Nobbie wrote:There is no host - I cannot find ANY "ebay" inside your VirtualHosts. If you want to have ebay.albazaz.de as virtualhost (for example)), you should add it to the ServerAlias.


Check the last <VirtualHost>... there is the ebay.albazaz.de

Nobbie wrote:And: did you assign an IP to ebay.albazaz.de? Is it a valid domain?


What do you mean?? check the other subdomains... mxsd.de ssh.mxsd.de albazaz.de etc. all are working!
redliner51
 
Posts: 3
Joined: 01. January 2009 16:01

Re: VirtualHost Problem

Postby redliner51 » 01. January 2009 17:59

Ich komm mir gerade ziemlich blöd vor... hab einfach hier gepostet und dachte natürlich wegen dem .org dass englisch angebracht wäre :-D

Aber fehler auch behoben... hatte echt vergessen beim domainprovider ebay.* anzulegen... ich sollte echt nochma schlafen gehen... das ist der restalk von gestern abend :-D
redliner51
 
Posts: 3
Joined: 01. January 2009 16:01


Return to Apache

Who is online

Users browsing this forum: No registered users and 5 guests