LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 02-08-2005, 04:11 PM   #1
Xonoss
LQ Newbie
 
Registered: Feb 2005
Location: El Cajon, CA
Posts: 3

Rep: Reputation: 0
Web site hosting


I currently have a Fedora Linux server, i had someone admin it for me, I need to be able to do a few things myself like adding web sites. I know using the command console adding a folder to catch a URL has something to do with the command mkdir. But after that im lost lol I would love any info anyone could give me on how to add folders for websites to my server. The more detail the better, im not an idiot, just new to Linux. Thx for any help.
 
Old 02-08-2005, 04:17 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Well, is it safe to assume you are using apache to serve webpages? If so, you'll need to create a folder (or user) for the new web[pages/site] and then modify httpd.conf as needed. Are you trying to add new domains, or just a new subfolder?
 
Old 02-08-2005, 04:20 PM   #3
csfalcon
Member
 
Registered: Jun 2004
Location: MD
Distribution: Fedora Core
Posts: 269

Rep: Reputation: 31
To create another folder under your URL is simply creating a folder under the root directory of your website. If you have the apache httpd installed, the root directory of the website should be /var/www/html/<website> (replace <website> with whatever the directory name it is in.

Code:
cd /var/www/html/<website>
mkdir <new directory name>
 
Old 02-08-2005, 04:20 PM   #4
Xonoss
LQ Newbie
 
Registered: Feb 2005
Location: El Cajon, CA
Posts: 3

Original Poster
Rep: Reputation: 0
Yes im using apache to serve webpages. Im trying to add new domains. I need to make the folder for the new URL. Im just lost on how to do so....... Ok i was able to add the new folder, but what else do i need to do to make it catch the URL? im not using a name server just an IP address. So right now the URL is being caught by the IP address and not making it to the new folder i made.

Last edited by Xonoss; 02-08-2005 at 04:39 PM.
 
Old 02-08-2005, 09:07 PM   #5
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Are you using virtual hosts? Look in apache.conf (or httpd.conf, depending on distro) and look for how it's currently set up.
 
Old 02-08-2005, 09:55 PM   #6
Xonoss
LQ Newbie
 
Registered: Feb 2005
Location: El Cajon, CA
Posts: 3

Original Poster
Rep: Reputation: 0
im not sure how to look at the apache.conf file, but i do believe it is using virtual hosts
 
  


Reply



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
ftp access to web site hosting dbtx Linux - Enterprise 2 05-13-2005 03:07 PM
Free web based control panel for web hosting? mooman_fl Linux - Software 0 06-18-2004 05:16 PM
Register domain name vs hosting the site J.W. General 4 06-07-2004 09:37 PM
Hosting my own site AdamPengelly Linux - Newbie 16 12-29-2003 06:10 AM
Setting default foreign language for 1 site when virtual hosting. dsiguy Linux - General 0 05-13-2003 11:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:36 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
Open Source Consulting | Domain Registration