Live Preview with Server: multiple sites #1775
Answered
by
abose
scrollable-sidebar
asked this question in
Q&A
|
I use Laragon (not sure that matters) and am working on multiple sites. My folder structure looks likes this: www\site1 If I follow the instructions to edit my httpd.conf file like the below, it works for that one site: DocumentRoot: "D:/Laragon/www/site1" But I'd like to have my Document Root look like this: DocumentRoot: "D:/Laragon/www" ...and then enter "site1", or "site2" etc in Pheonix's Live Preview Settings. Something like this: So far I've been unsuccessful - is it possible? |
Answered by
abose
Jul 25, 2024
Replies: 1 comment 2 replies
|
If the site url is something like
This should work. Please see https://docs.phcode.dev/docs/Features/live-preview-settings/ |
2 replies
Answer selected by
abose
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

If the site url is something like
http://localhost/site1,http://localhost/site2, etc. thenwwwin phoenix code.http://localhost/This should work. Please see https://docs.phcode.dev/docs/Features/live-preview-settings/