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)
-   -   Problem with apache (http://www.howtoforge.com/forums/showthread.php?t=45757)

dejan.b 11th May 2010 11:46

Problem with apache
 
Hello guys!

I'm using ISPconfig 3.0.2.1 with Ubuntu 9, and i have problem with apache.

I have for about 10 domains, when type www.domain1.com it shows web site for that domain, problem is when i type www.domain2.com or www.domain3.com it shows again web site for domain1.com...

What can be the problem? i didn't change anything in sites-default of sites-enabled directory...

Mail and FTP services are working ok for all domains, only web is the problem...

Thanks in advance!

till 11th May 2010 11:49

Make sure that you either select * for all websites or the IP for all websites but do not mix * and the IP address for different sites as apache will then show only the first website where the IP is selected for all domains as IP adresses have prrecedence before wildcards.

dejan.b 11th May 2010 16:34

Quote:

Originally Posted by till (Post 227855)
Make sure that you either select * for all websites or the IP for all websites but do not mix * and the IP address for different sites as apache will then show only the first website where the IP is selected for all domains as IP adresses have prrecedence before wildcards.

Greetings!

I checked, * is selected for all sites.
I have one new info:

The other guy that works on the server told me that he changed some lines in /etc/apache2/sites-available/default file...

I checked there, but it looks like it's ok, maybe some options there are misconfigured, can i found somewhere original file? i checked on the system, doesn't exists.

Thanks!


All times are GMT +2. The time now is 01:32.

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