Unable to Launch a Website Made From Scratch

Hi, all!

I have built a website from scratch using HTML, CSS, and JS and I would like to use Local to view my website in a browser while I develop it further. In order to achieve this, I completed the steps below…

  1. Created a site in Local
  2. Opened the folder in which the website was stored in: /users/ me /Local Sites/ website /app/public/
  3. I deleted all the Wordpress files in the folder
  4. I replaced the /public/ folder with my website files I wrote
  5. Started website

And then… I got this error:

403 Forbidden nginx

And I also got this error: (Local router error)

Thank you in advance for any advice!

You should leave the public folder in place and put your files there. Just replace the contents of public.

Right, that’s what I did. Sorry if that wasn’t clear in my post I meant I replaced the contents of public.


Looking at this site it seems to be a Permission, Ownership, or Empty httpdocs directory error because I already have an index.html in my website files.

Hi @coder110,

Can you please screenshot or provide a listing of what’s in your public folder? Feel free to block out any sensitive names.

In this case I would advise using the “Custom” environment. The Preferred environment will not use anything other than index.php as the index.

1 Like

Ok. Thanks so much! I’ll try that and get back to you on whether or not it works!

1 Like

It worked! Thanks a million @clay!

1 Like