# Errors trying to validate domains on NGINX & FPM

**URL:** <https://forum.virtualmin.com/t/errors-trying-to-validate-domains-on-nginx-fpm/58198>\
**Category:** Help! (Home for newbies)\
**Created:** [April 19, 2018, 1:55pm UTC](https://forum.virtualmin.com/t/errors-trying-to-validate-domains-on-nginx-fpm/58198 "2018-04-19T13:55:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pingtech](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/p/74df32/32.png) [@pingtech](https://forum.virtualmin.com/u/pingtech)\
**Post date:** [April 19, 2018, 1:55pm UTC](https://forum.virtualmin.com/t/errors-trying-to-validate-domains-on-nginx-fpm/58198/1 "2018-04-19T13:55:54Z")

</div>

Hi all,  
My journey started with an issue of failing backups. In the process of troubleshooting this I found the validate-domain command. When I run **virtualmin validate-domains** I get an error. I can find plenty of information regarding apache, but not much for an **nginx/fpm** install. The command I am running that replicates the error is:  
`
virtualmin validate-domains --domain mydomain.org --all-features
mydomain.org
Log file rotation : No webserver log found for virtual host mydomain.org
`

Sounds simple right?   
  
Well this led me down the rabbit hole of fixing this issue. Verify that **Virtualmin-\>System Settings-\>Features&Plugins** shows that **“Nginx website”** and **“Nginx PHP-FPM website”** are enabled! (Apache website=disabled) **(Are both suppose to be enabled?)**

Some document on this site I found suggested: go to **Webmin -\> Servers-Nginx** , but this is **MISSING** (Not an option under “Servers” for nginx…)

When I create a brand new domain, it gets created and the virtual-config is generated in /etc/nginx/sites/available. It contains the necessary (but not optimal) config to bring the site up with php & fpm. I will save that for a separate thread.

So any guidance will be greatly appreciated. I could not find a clear cut guide for nginx out there. Not saying it doesn’t exist, just I could not find it.

I am running:  
  
Ubuntu 16.04  
  
Webmin 1.881   
  
Virtualmin 6.02-3

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [April 30, 2020, 5:38am UTC](https://forum.virtualmin.com/t/errors-trying-to-validate-domains-on-nginx-fpm/58198/2 "2020-04-30T05:38:06Z")

</div>

Closed on April 30, 2020, 5:38am UTC


