Create New Web works in Vesta however it is not showing up in /etc/apache2/sites-enabled
-
- 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
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"?
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"?
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: Create New Web works in Vesta however it is not showing up in /etc/apache2/sites-enabled
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.
So you should head to your user's home directory and then conf dir to edit the specific conf files.