Page 1 of 1

add new domain through api does not enable nginx

Posted: Mon Sep 01, 2014 6:46 pm
by jminix
I am using vestacp's api to create a new user, domain, mail account, and database. Everything works fine except that when going to the subdomain: ` sub.domain.com` it resolve to the parent `domain.com`. I finally figured out that nginx support is not being enabled by default while using the api. I can manually enable nginx support and the sub domain resolves fine. There is no problem with nginx being enabled when adding a domin within the web interface. Any help would be appreciated.