drupal log into website redirect me to root domain

Posted January 3, 2014 2.8k views
my site is hosted as ipaddress/nameofsite When i try and log into this site at ipaddress/nameofsite I am redirect to ipadress I used this tutorial Here is my virtual host folder I get a page not found I am not sure what i need to check

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers
to add to this the page not found was caused when i added to the document root

i added mysite to the end of the path

What does Apache have in its error log?
tail -20 /var/log/apache2/error.log