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 General Discussion Debian/Ubuntu
  • Search

Create New Web works in Vesta however it is not showing up in /etc/apache2/sites-enabled

Debian/Ubuntu related topics
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
adamjedgar
Posts: 43
Joined: Tue Apr 18, 2017 7:55 am

Create New Web works in Vesta however it is not showing up in /etc/apache2/sites-enabled
  • Quote

Post by adamjedgar » Sun Oct 22, 2017 5:36 am

hi guys,
i am not sure if this is how its meant to be or if i am doing something wrong. I log into vestacp as a client account (not system administrator) and create a new web domain.
Vestacp successfully creates the domain and its listed in the web tab for that user.
However, when i log into command using either that user or the system admin user, i find only the following in /etc/apache2/sites-enabled...

000-default.conf

This is the same for sites available (which i imagine would be correct as sites-available is the default template yes?), but surely this should not be what is recorded for a new domain for said client?

For example, if i created a client called "foo" and,

"foo" logged into the webserver using his account and created a new web domain called "foo.com",

shouldnt foo@server2:/etc/apache2/sites-enabled display "foo.com" instead of "000-default.conf"?
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: Create New Web works in Vesta however it is not showing up in /etc/apache2/sites-enabled
  • Quote

Post by mehargags » Sun Oct 22, 2017 1:12 pm

VestaCP includes all conf files from /home/<vestauser>/conf/web/apacheornginx.conf. It doesn't create or edit default conf file in /etc/apache2orNginx/sites-xx directories. It imports the different conf's for each user and so creates a runtime systemwide conf

So you should head to your user's home directory and then conf dir to edit the specific conf files.
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Debian/Ubuntu”



  • 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