Live Preview with Server: multiple sites #1775
-
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? |
Beta Was this translation helpful? Give feedback.
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/ |
Beta Was this translation helpful? Give feedback.
If the site url is something like
http://localhost/site1
,http://localhost/site2
, etc. thenwww
in phoenix code.http://localhost
/
This should work. Please see https://docs.phcode.dev/docs/Features/live-preview-settings/