Question

Subdomain .htaccess not working

  • Posted July 4, 2014

Hello.

In the root (var/www/domain.tld) .htaccess working fine but in the subdomain root (var/www/sub.domain.tld) .htacces not working.

What should I do?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Solved.

I change: DocumentRoot “/var/www/itsweird.net/public_html” to DocumentRoot “/var/www” and <Directory “/var/www/itsweird.net/public_html”> to <Directory “/var/www”>