0

I wanted to self-host a website and I cant find solution to this anywhere. So, I have website files in /var/www/html but when I connect it only detects index.html I tried to manually enter directory but it shows 404 even though it's there.

4
  • Have you confirmed the files are accessible to www-data? Are you running a static HTML site?
    – matigo
    Jan 7, 2022 at 23:58
  • @matigo how can I check that?
    – Cnnn666
    Jan 8, 2022 at 0:00
  • Are you using Ubuntu Desktop or Server? The method you use to put the files in /var/www/html may also show you ownership / permission details 🤔
    – matigo
    Jan 8, 2022 at 0:32
  • I use desktop and the method I used to put files there was through mv command
    – Cnnn666
    Jan 8, 2022 at 18:05

0

You must log in to answer this question.

Browse other questions tagged .