Preview webpage on localhost visual studio community for mac

broken image
broken image

What I did was duplicate that file in the same folder and changed the duplicate's name to 'index.html', leaving the original in situ.īoth local and user sites then loaded. This contains the text 'It works!' referred to in the post. However, if, like me, you still can't get the local host site to load, try the following: You should find a file at /Library/WebServer/Documents/.

broken image

I tried logging out and back in (still no joy), then restarting the mac (still no joy). Just a note, in case anyone has the same issue.