HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   vhost behaves "strange" (http://www.howtoforge.com/forums/showthread.php?t=60286)

ZeroEnna 21st January 2013 12:48

vhost behaves "strange"
 
Hey everyone,

I just found something weird.
I have a Multiserver running under Debian Squeeze, however, both are set up with different tutorials (there are about 15 months between each server).

I created a subdomain "files.example.com" on the master as a regular domain, and it works perfectly.
Now I created a subdomain "files.example.de" on the slave. It is created, the vhost file is created as usual, but it seems to be ineffective.

Instead of the domain I created, all requests are related to the site that is first in alphabetical order, "constory.de".

What's wrong here? All settings are exactly the same as on the master.

What information do you need to help me?

Regards


Zero


EDIT: normal websites, like "example.de" are working fine on the slave, only subdomains are making trouble

falko 22nd January 2013 20:52

Do you use the correct IP address in the vhost? Does the subdomain point to the correct IP?

ZeroEnna 22nd January 2013 21:06

yes to both, I just checked it.

till 23rd January 2013 09:01

I had a similar issue some time back were apache did not picked up new changes caused by a hanging apache process. Please try to stop apache and then check with:

ps -aux | grep apache
ps -aux | grep http

that no apache processes are running anymore. If you still find apache processes, then kill them or restart the server.

If thats ok, then check if the symlink in /etc/apache2/sites-enabled/ points to the correct vhost file in /etc/apache2/sites-available/

A third thing is the dns, check that the dns record for files.example.com really points to the correct IP address. And dont mix * and IP addresses in the website settings in ispconfig on the same server. If you mix them, all * records will get ignored.


All times are GMT +2. The time now is 23:35.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.