I actually thought it was quite hilarious to have the web server return Forbidden when accessing the root of the domain of “” … well during setup. But now that I have entabled the domain it was time to get serious.

I had been fooling around with some code to redrect from the root to the blog and it was working during testing but now that I need it, not so much.

The offending code

<html lang="en-US">
<meta charset="UTF-8">
<meta http-equiv="refresh" content="1;url=">
<script type="text/javascript">
window.location.href = ""
<title>Page Redirection</title>
<!-- Note: don't tell people to `click` the link, just tell them that it is a link. -->
If you are not redirected automatically, follow the <a href=''>link to blog</a>

Sure, I did have a few differences between this and my test environment but no matter what I did there was no changes at all.

If all else fails, check the logs. Perhaps that should have been my starting point. The Apache error log file tells you exactly what directory it is looking in when it cannot find a file or has an error.

[Thu Oct 29 09:44:15 2015] [error] [client] File does not exist: /var/www/vhosts/


Thanks to the internet for providing assistance

This entry was posted in blogging and tagged , . Bookmark the permalink.