apache2 restart fail

I'm new to linode and VPS. I already done a apache set up by the linode documentation. It worked well at first. But when I tried to restart the apache2 it shows [fail]. What is the reason?

Thank you.

2 Replies

Check your apache logs for errors, normally located in /var/log/

It shows..I have no logs directory in srv/www/example.com

Thank you..It is working now

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