Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Configure Apache2 on Linux - 2 local websites |
|
Author |
|
foxclone
Joined: 09 Apr 2022 Posts: 6 Location: USA,Ridgeland
|
Posted: Sat 09 Apr '22 19:47 Post subject: Configure Apache2 on Linux - 2 local websites |
|
|
I've searched both this website and others but have found no solution. I have a local copy of my production database on my Apache 2.4 server which works properly. I want to add a copy of it to experiment with color palettes. I've added test.conf to the sites-available and added test to hosts, then restarted Apache. If I enter http://test in my web browser, I get a Not Found. If I enter 127.0.0.1/test/public_html, I see the test website.
My test.conf can be seen at https://www.toptal.com/developers/hastebin/alobikubul.apache
I'd appreciate some guidance on where I've gone wrong. |
|
Back to top |
|
foxclone
Joined: 09 Apr 2022 Posts: 6 Location: USA,Ridgeland
|
Posted: Sun 10 Apr '22 0:13 Post subject: |
|
|
Got it fixed. Had to combine the two separate files into one. |
|
Back to top |
|
|
|
|
|
|