Control Web Panel

WebPanel => Apache => Topic started by: skintekx on April 26, 2015, 03:13:22 PM

Title: Apache Vhosts problem
Post by: skintekx on April 26, 2015, 03:13:22 PM
Hi all i just installed CWP on centos 6.6 and is very nice, the best panel i ever see, but i have one major problem... i`m using 1 static ip, and when i create 2 apache vhosts for example domain1.com with doc root /home/user1/public_html  and domain2.com with doc root /home/user2/public_html when i try to acces domain1.com redirect me to default apache vhost i think, and also for domain2.com, in other cases what content is have in doc root for domain1.com shows for domain2.com also, i don`t know how to make it work for domain1.com and domain2.com to work as normal 2 different vhosta with different content.
Title: Re: Apache Vhosts problem
Post by: Glenn on April 28, 2015, 10:46:38 AM
Do you have dns setup for both domains and are you trying to access them via ip address ?
Title: Re: Apache Vhosts problem
Post by: Administrator on May 04, 2015, 09:05:46 PM
please read wiki/FAQ before posting new topics
Title: Re: Apache Vhosts problem
Post by: Bosman on May 06, 2015, 01:49:17 PM
http://forum.centos-webpanel.com/apache/webpage-not-correct/

Here I had the same problem, maybe this can help you?