file does not exist htdocs

404 no url found using https. Error log shows file does not exist htdocs. I have no htdocs file. How do I fix this 404 error code. The index file is on server but now displaying when I type https. I can view my index file on http only.

1 Reply

Your query is a bit vague, more detail would help but by the sounds of it you don't have a virtual host set up for ssl you need one for both http and https (note https runs on port 443 not 80).

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct