Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Multiple Domains on 1 IP Address showing last created domain

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
14 posts
  • Previous
  • 1
  • 2
croc122
Posts: 11
Joined: Sat Mar 28, 2015 5:15 pm

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

Post by croc122 » Sun Mar 29, 2015 10:03 pm

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.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

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

Post by skurudo » Mon Mar 30, 2015 5:03 pm

croc122 pm me please with root pass from server, let's see, what's going on.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

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

Post by skurudo » Mon Mar 30, 2015 5:46 pm

/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 .
Top

fredfontes
Posts: 7
Joined: Tue May 05, 2020 9:46 pm
Contact:
Contact fredfontes
Website

Os: Ubuntu 17x
Web: apache + nginx
Re: Multiple Domains on 1 IP Address showing last created do
  • Quote

Post by fredfontes » Sat May 01, 2021 8:12 pm

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
Top


Post Reply
  • Print view

14 posts
  • Previous
  • 1
  • 2

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password