Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 02-14-2007, 03:23 PM   #1
LQ Newbie
Registered: Feb 2007
Posts: 1

Rep: Reputation: 0
LAMP Apache 2 won't go to folders in Default directory

Hello Everyone,

The current problem I'm having with my new Ubuntu LAMP server is that I've redirected my domain name, assume domainname, to my server. It works fine.

But when I add a directory to the default apache2 folder, and set the proper viewing and executing permissions, i type in domainname/folder and the server redirects to the main index page in default directory, not the folder directory.

But if I put my IP address in the browser, ex, ip_address/folder/
it works and goes to the proper page.

Does anyone know what I've done wrong with my setup?
Old 02-14-2007, 11:29 PM   #2
LQ Newbie
Registered: Feb 2007
Posts: 4

Rep: Reputation: 0
Did you change the ServerName in httpd.conf from your IP address to your domain name?

You may also need to use the Listen directive.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How Do I Change The Default Directory For Apache? Tear Syden Linux - Newbie 4 03-21-2006 10:16 PM
Apache Directory Listing Of NFS Mount, cannot view directory list via apache luqmana Linux - Networking 2 12-19-2005 06:03 AM
LAMP File and Directory permissions dashnaam Linux - Security 1 08-01-2005 11:17 PM
Apache LAMP with 9.3 and amd64 barrythai SUSE / openSUSE 0 05-12-2005 06:51 AM
Default Apache Directory emperorjordan Mandriva 8 02-26-2004 11:07 PM

All times are GMT -5. The time now is 05:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration