Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Help with setup of Production / Testing environment with Apache on LAMP droplet
I would like to setup a Testing / Production environment on my LAMP Droplet.
Basically I have currently two folders under
/var/www, let’s say:
/var/www/siteA/ –> used for production
/var/www/siteB/ –> used for development
but currently whenever I try to access siteB I always get redirected to siteA
How to setup Apache to achieve this?
Thanks in advance!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×