Skip to content

Live Preview with Server: multiple sites #1775

Answered by abose
scrollable-sidebar asked this question in Q&A
Discussion options

You must be logged in to vote

If the site url is something like http://localhost/site1 , http://localhost/site2 , etc. then

  • open the folder www in phoenix code.
  • give the url in server settings as http://localhost
  • serving folder in project should be just /

This should work. Please see https://docs.phcode.dev/docs/Features/live-preview-settings/

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@scrollable-sidebar
Comment options

@abose
Comment options

Answer selected by abose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants