I google around the internet and located two methods to redirect incoming demands to apache in Ubuntu OS: 1) using
httpd.conf and a pair of) using
I'm confused. Do you know the variations together?
Please share knowing how.
.htaccess-file is intended to be utilized on shared servers in which you don't have the primary Apache config files. It generally is a better idea to make use of
httpd.conf or perhaps your site config instead of
.htaccess if you're able to because this includes a lower processing overhead (so far as I understand, the
.htaccess-file is parsed on each request), but for both work fine.