Hello and Thank you for your help<\/p>\n
I am on a Window computer running a virtualbox with Ubuntu 20.04 Lamp server. I am trying to host two wordpress site and can not get it to work right. If I enable one site at a time they work but if I enable both sites it only takes me to one of them. In my windows host file I have 192.168.1.5 pointed at example1.local and example2.local. In a browser example1.local takes me to example1.local and example2.local takes me to example1.local. I Cant find anything wrong in both .conf files for virtualhosting<\/p>","upvoteCount":4,"answerCount":2,"datePublished":"2023-01-25T16:56:59.000Z","author":{"@type":"Person","name":"timmechtel","url":"https://community.spiceworks.com/u/timmechtel"},"suggestedAnswer":[{"@type":"Answer","text":"
Hello and Thank you for your help<\/p>\n
I am on a Window computer running a virtualbox with Ubuntu 20.04 Lamp server. I am trying to host two wordpress site and can not get it to work right. If I enable one site at a time they work but if I enable both sites it only takes me to one of them. In my windows host file I have 192.168.1.5 pointed at example1.local and example2.local. In a browser example1.local takes me to example1.local and example2.local takes me to example1.local. I Cant find anything wrong in both .conf files for virtualhosting<\/p>","upvoteCount":4,"datePublished":"2023-01-25T16:57:00.000Z","url":"https://community.spiceworks.com/t/apache-virtual-hosting/944891/1","author":{"@type":"Person","name":"timmechtel","url":"https://community.spiceworks.com/u/timmechtel"}},{"@type":"Answer","text":"
If you wish to set up multiple websites you need to configure vhosts by creating / editing the following:<\/p>\n
Apache\\conf\\extra\\httpd-vhosts.conf<\/p>\n