Applicable to:
- Plesk for Linux
Question
Where web server configuration files for the domain example.com
are located in Plesk for Linux?
Answer
The web server configuration files for the domain are located inside /var/www/vhosts/system/<domain_name>/conf/
directory, for example:
# ls -l /var/www/vhosts/system/example.com/conf/
ttotal 56
-rw------- 1 root apache 7992 Mar 21 12:43 httpd.conf
-rw------- 1 root apache 7992 Mar 21 12:43 httpd.conf.bak
lrwxrwxrwx 1 root root 10 Mar 21 12:43 last_httpd.conf -> httpd.conf
lrwxrwxrwx 1 root root 10 Mar 21 12:42 last_nginx.conf -> nginx.conf
-rw------- 1 root nginx 4285 Mar 21 12:42 nginx.conf
-rw------- 1 root nginx 4285 Mar 21 12:42 nginx.conf.bak
-rw-r--r-- 1 root root 24132 Mar 19 13:16 webalizer.conf
Note: in case the domain example.com
is set as Default Site in Plesk > Tools & Settings > IP addresses > 192.0.2.2, the main configuration files of the domain are named as httpd_ip_default.conf
and nginx_ip_default.conf
.
Comments
0 comments
Please sign in to leave a comment.