Server error

So, I've added my name-based virtual hosts (I currently have 2), the first one works perfectly, but the second one, well, I just keep getting this error:

HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request. I've created the public_html/logs directories, and linked my virtual host file from my sites-available to the sites-enabled directory. I've pretty much just followed this LAMP tutorial: http://library.linode.com/lamp-guides/u … 0.04-lucid">http://library.linode.com/lamp-guides/ubuntu-10.04-lucid

The server is running on: Ubuntu 10.04

The domain hosts file for vouchh.me is the following:

ServerAdmin karl@vouchh.me

ServerName vouchh.me

ServerAlias www.vouchh.me

DocumentRoot /srv/www/vouchh.me/public_html/

ErrorLog /srv/www/vouchh.me/logs/error.log

CustomLog /srv/www/vouchh.me/logs/access.log combined

I've probably missed something out, but if I have, I'll include it asap.

Any advice/help would be great.

Thanks.

2 Replies

Does anything interesting show up in /srv/www/vouchh.me/logs/error.log ?

Fixed. It seems some file was messing everything up. Guess I'll have to turn error reporting on next time, and not let the server not display errors. Thanks.

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