Configuring web server to map requests to directory

Hey guys,

I can't properly configure my web server to map requests to the directory where I intend to store the files for my website. Its apache and I get the following message when I go to the home page:

It works!

This is the default web page for this server.

The web server software is running but no content has been added, yet.

However when I go to any file I uploaded using filezilla, I get this message:Not Found

The requested URL /install was not found on this server.

Apache/2.2.14 (Ubuntu) Server at www.videoloco.in Port 80

Any help is greatly appreciated.

Thanks,

Ade

1 Reply

Where did you upload your files to?

Open /etc/apache2/sites-available/default and pay close attention to the "DocumentRoot" line. This is the directory where Apache will look for your website files.

Also, enable the rewrite mod:

a2enmod rewrite
/etc/init.d/apache2 restart

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