Page 1 of 1

VestaCP forcing www prefix on every domain. How to disable?

Posted: Tue Mar 22, 2016 1:11 am
by princekolt
So the title is pretty self explanatory. I have read through all generic configuration files...
  • ~/conf/web/httpd.conf
  • ~/conf/web/nginx.conf
  • ~/conf/web/shttpd.conf
  • ~/conf/web/snginx.conf
  • /etc/nginx/conf.d/*
  • /etc/httpd/conf.d/*
...but I couldn't find any rule enforcing that.

Is this a default configuration? I noticed this behavior ever since I installed VestaCP so I don't think I broke any settings.
Thanks for the help!

Re: VestaCP forcing www prefix on every domain. How to disable?

Posted: Tue Mar 22, 2016 4:56 pm
by tjebbeke
VestaCP don't force this, check your .htaccess files.