Page 2 of 2

Re: Multiple Domains on 1 IP Address showing last created do

Posted: Sun Mar 29, 2015 10:03 pm
by croc122
I completely removed Nginx because I was told it is unnecessary and was causing me problems.

If possible, it would be faster to communicate over Skype messaging. my username is bronycroc.

Re: Multiple Domains on 1 IP Address showing last created do

Posted: Mon Mar 30, 2015 5:03 pm
by skurudo
croc122 pm me please with root pass from server, let's see, what's going on.

Re: Multiple Domains on 1 IP Address showing last created do

Posted: Mon Mar 30, 2015 5:46 pm
by skurudo
/etc/apache2/httpd.conf
Too many IP, old IP for Listen / NameVirtualHost -- edited like this, other commented

Code: Select all

NameVirtualHost *:80
Listen 80
Listen 443
/etc/apache2/httpd.conf
Too many IP, old IP for Listen / NameVirtualHost -- moved to root

/etc/apache2/sites-available/clubzebula.com
double config - information on sites again ) -- moved to root

and the we have classic problem, when restarting apache2:

Code: Select all

VirtualHost ....:80 overlaps with VirtualHost ...:80, the first has precedence, perhaps you need a NameVirtualHost directive
We see only one site, first in config.

Then we change your apache2.conf in /home/admin/web to

Code: Select all

<VirtualHost *:80>
And restart apache2.

Code: Select all

[ ok ] Restarting web server: apache2 ... waiting .

Re: Multiple Domains on 1 IP Address showing last created do

Posted: Sat May 01, 2021 8:12 pm
by fredfontes
skurudo wrote:
Wed Mar 04, 2015 4:25 pm
When you use one account for your domains, apache create one config file and new domains added in this file. If you think, it's not normal, please add a bug - https://bugs.vestacp.com/
Connection refused