Gday, I don’t think there was an error on on the log, there was also no error running apachectl configtest.
It’s working now, I setup a new VM and followed a post on vultr, only thing I did was differently was installing as a sudo user, not root, and this command: sudo find /var/www/website1.com/public_html -type d -exec chmod g+s {} \; Could probably replicate it following this guide: https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-20-04 On Tue, 3 May 2022 at 7:31 am, Frank Gingras <thu...@apache.org> wrote: > You deleted the stackoverflow post - what did the error log say, exactly? > > On Mon, 2 May 2022 at 06:06, Josh Mustillo <josh.musti...@gmail.com> > wrote: > >> 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. >>>> >>>>