IT'S WORKING: Weird, fresh VM, 99% of guides are the same except the write up on vultr. Could it have been me being lazy and running a web server as root user? The only thing different was this command: sudo find /var/www/website1.com/public_html -type d -exec chmod g+s {} \;
Guide that worked: https://www.vultr.com/docs/set-up-virtual-hosts-with-apache-on-ubuntu-20-04-lts/ On Mon, 2 May 2022 at 19:38, Josh Mustillo <josh.musti...@gmail.com> wrote: > Hi :D, Yeah I tried directory blocks within the configs, I updated my > stack post as that was a spelling error as I changed the configs for my > post using generic domain instead of my actual domains XD, literally going > to set up a new VM and start fresh again. There must be a bug or something > with apaches name handling as port based works, (also updated my stack > post) to show port based virtual hosts are working. > > On Mon, 2 May 2022 at 6:27 pm, Ivan Ionut <ivan.io...@tehnopol-gl.ro> > wrote: > >> Hi, I'm usually the guy that needs requests help :D but have you tried >> this directory block? >> >> <Directory "/var/www/website2.com/public_html"> >> Require all granted >> Options -Indexes >> </Directory> >> >> >> P.S I noticed in your stack post that you added Directory block of >> website*1*.com within website*2*.com >> --- >> >> >> >> >> >> On 02-05-2022 09:49, Josh Mustillo wrote: >> >> Gday, >> >> I'll post a link to my stack overflow post as it's nicely formatted: >> >> >> https://stackoverflow.com/questions/72073312/apache-virtual-hosts-not-working-for-my-two-domains >> >> I've been trying for a couple of weeks on a oracle compute instance with >> no luck so I thought I would try a Multisite on a local Ubuntu virtual >> machine with no luck either. >> >>