LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-09-2009, 09:04 AM   #1
NeillH
LQ Newbie
 
Registered: Aug 2009
Location: England-Bedfordshire
Posts: 17

Rep: Reputation: 0
Browse directories to find application


Hi All

This is really basic stuff, so hopefully you wont get upset with a newbie.

I have inherited a web server so not totaly sure if it is set up as normal but no reason the think not.

A web company installed a web site on my server, however I am not sure how to browse the server to see where the application is installed.

I have set up a domain using matrix control panel and this has created a domain in the default directorty. So I am assuming the the web company installed the application in this dir, how can I browse this dir. (I have connected to server using putty, but now I am lost as my Dos skills dont seem to help me).

I think they may not have installed application in this DIR, because when I use the URL I get the matrix web page and not the web site. I can view the web site by the IP of my server followed by directory 77.xx.xx.xx/mywebsite.

In summary if I could browse the directories I could check site is installed in correct dir, and then rule this problem out.

Regards neill
 
Old 10-09-2009, 09:33 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
Usually, web pages are located in /var/www
You can use the locate command to find a file by its name, or the find command.
locate mywebsite
find /var/www -name mywebsite
You can also look at apache configuration file to see where this web site is located.
Apache configuration file is usually located in /etc/apache, /etc/apache2 or /etc/httpd and its name is usually apache2.conf or httpd.conf
Anyway, if you can tell me the distro that is installed, I can be more precise.
Usually, the command 'cat /etc/issue' can give you the distro name and version.
 
Old 10-15-2009, 11:33 AM   #3
NeillH
LQ Newbie
 
Registered: Aug 2009
Location: England-Bedfordshire
Posts: 17

Original Poster
Rep: Reputation: 0
Hi starting to find my way around. When running Cat /etc/issue I got the following

CentOS release 5.3 (final) Kernel \r on an \m

I also found my http.conf it was in etc/httpd\conf\httpd.conf

Lost of entries here not sure what to look for though?

Hope this helps to narrow down problem.

Neill - still learning
 
Old 10-15-2009, 08:00 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
For Centos, you can use the RHEL docs (Centos is a free copy of RHEL)
http://www.linuxtopia.org/online_boo...ion/index.html
 
Old 10-16-2009, 12:33 PM   #5
NeillH
LQ Newbie
 
Registered: Aug 2009
Location: England-Bedfordshire
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks for document help. loads here a bit over whelming. But I found a reference to the directory where I think web sites are to be placed. That is var/www/html, I have managed to browse the dir but nothing here, is it possible application directories are hidden?

When I create a domain in my matric panel and choose the default main group, does the Matrix control panel create a DIR in vvv/www/html/newdomain.co.uk? Or do I need to install the application in a manually created directory?

I am missing this really simple step I think.

Neillh
 
  


Reply


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 you find an application using launch application pnoise Linux - Newbie 1 01-11-2009 11:44 PM
cannot browse directories in command promt with space in btween names ritam_bkp Linux - Newbie 8 11-13-2008 11:57 AM
Is there a KDE docker style application for files and directories ? uncle-c Linux - Desktop 2 10-11-2008 10:31 AM
How can I find in only particular directories? nadavvin Linux - General 3 08-05-2006 02:48 AM
Application Installation Directories Skizzler Linux - Software 3 05-26-2005 04:32 AM


All times are GMT -5. The time now is 02:49 AM.

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