LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 11-18-2004, 12:35 AM   #1
nytemare1456
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Rep: Reputation: 0
Web Hosting


I am new to the Linux community. I just installed FC3 on my computer. It is the only OS on the machine currently. I am running an AMD 64bit 3200 processor on a 64bit gigabyte board with 1gb ram.

What I want to know is how do I configure Linux so that I can host my own website?
 
Old 11-18-2004, 12:54 AM   #2
PenguinPwrdBox
Member
 
Registered: Oct 2003
Location: /illinois/chicago
Distribution: Slackware/Gentoo/FC/RHEL
Posts: 568

Rep: Reputation: 30
http://www.google.com/linux?hl=en&lr...=Google+Search
 
Old 11-18-2004, 12:55 AM   #3
SilverZero
LQ Newbie
 
Registered: Nov 2004
Posts: 18

Rep: Reputation: 0
Well, first off, I don't think your system is powerful enough to run a website. You're going to need at least a dual Opteron setup.

Okay, no, you won't. Anyway, I just installed FC3 tonight, and I've got my website up and running. Let's see if I can give you a little direction. If not, I hope you don't hold it against me.

First off, you should know / do the research to find out what sorts of programs you want to run. I suggest the Apache web server, of course, like most people would. You might also have to check whether your ISP blocks port 80 - I know that was the biggest obstacle I had, because mine does. So I host my site on a non-standard port (choose one like 8080 or 8065 or 11000, something that isn't used by anything else; I think a lot of people use 8080). When you installed Fedora, you should have checked the boxes that applied to HTML hosting (specifically Apache web server / Httpd web server, they're the same thing). If not, you'll have to install the server separately, either from the Apache website or from your installation discs. Since I'm very new to Linux, I can't help you a lot, but that sort of info should be easy to find. When I installed my setup, I actually found options that allowed for front-end configuration apps for Apache, which showed up under the Applications menu, under System Settings / Server Settings / HTTP. From there, I simply added a line that told Apache to listen to my open port (which I also have forwarded to my computer from the router of my home network. . . you need to do that unless you're directly hooked to the modem), then I made sure Apache was active and started (very intuitive interface, I'm glad it was built in to Fedora to begin with!). The only other step is to stick your HTML files (with your home page named index.html unless you edit Apache to tell it to look for other pages, which I don't bother with) into the /var/www/html folder (the "home" folder by default), and you're set! I had my girlfriend check my site just now, so I know it works from the outside world. VERY easy setup. Just make sure to restart Apache everytime you change things (besides the web pages), so it updates itself.

I might have skipped a lot of stuff, I don't know what your comfort level with website development is. I've been hosting on my W2K box for a while using Apache, so I'm a little more familiar with it. Also, I'm pretty tired today, so I hope I'm not just wasting time. I'm sure other people here can help a lot more than me, but seeing as how I just did it all 15 minutes ago, I have it all in my mind. Feel free to PM me if you want to get a dialogue going on setting this up. I'm happy to help if I can, and I got nothin' else going tomorrow. For now, though, I'm out for about 9 hours. Good luck! There's plenty of docs all over the internet (Apache.org) that will help you, along with other people around here. I just wanted to tell you that if you have Fc3, you have all the tools already at your disposal. Just add your own pages and launch.

<><
 
Old 11-18-2004, 03:03 AM   #4
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Quote:
Originally posted by SilverZero
Well, first off, I don't think your system is powerful enough to run a website. You're going to need at least a dual Opteron setup.

Okay, no, you won't. Anyway, I just installed FC3 tonight, and I've got my website up and running. Let's see if I can give you a little direction. If not, I hope you don't hold it against me.
I won't hold it against you BUT I run a webserver on an old P100 with a cyrix 233 processor and 128MB RAM. If you don't intend running fancy multimedia stuff then a basic system will do the job since the limitation is not the box but your bandwidth. I have an adsl webserver where you can find a fair amount of info and links to othersa who have write-ups on the same thing.
 
Old 11-18-2004, 12:01 PM   #5
SilverZero
LQ Newbie
 
Registered: Nov 2004
Posts: 18

Rep: Reputation: 0
I was totally kidding, TigerOC. Translated into non-sarcasm, the first line of my post reads: Dang, dude, I want your computer. Bandwidth is definitely the limiting factor to a good webserver, especially if you want to run anything more intensive (like flash animations) and don't want the user to sit around forever waiting for it to load. As TigerOC says, you can run a webserver on anything you can start up. I've got my good ol' Athlon 1.2 going right now, and a PIII 500 as an auxiliary computer (storage and DVD burning, mostly).
 
Old 11-18-2004, 03:04 PM   #6
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Quote:
Originally posted by SilverZero
I was totally kidding, TigerOC. Translated into non-sarcasm, the first line of my post reads: Dang, dude, I want your computer.
No problem SilverZero. As has been said on many fora sarcasm and humour don't come across well in print media and I wouldn't mind some of that heavy weight muscle as well.
 
Old 11-18-2004, 03:11 PM   #7
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,192

Rep: Reputation: 101Reputation: 101
you certainly don't need a high spec computer for a server, you biggest problem will be your internet connection, I have a PIII 1GHz with 512Mb and that can run invision power board or phpbb2 no problems at all, response and query execution times are very quick when accessing the server on the internal network, obviously from outside response times are a bit slower because I have only ADSL internet connection.

One thing I will say though, with servers you can't have too much ram
 
Old 03-25-2005, 11:18 PM   #8
tobrien
LQ Newbie
 
Registered: Mar 2005
Location: Rochester, NY
Distribution: Ubuntu 10.4
Posts: 25

Rep: Reputation: 15
Some Problems of where to put index.html

I have to say that Apache was as easy to get running as SilverFox said. At this point I have the test page showing up at my site, but I am having problems getting pages into the var/www/html folder. I am really quite new to Linux so I have only really been using the GUI and only looking at the terminal.

I have been navigating to the var/www/html folder with the GUI and when I try to put a file into the folder I am getting an error that tells me I don't have permission to write to the folder. Would the root user be the only one that has access to this folder/ Also is the anything that I have to change in the /ect/httpd/conf file? Any links or simple how to's would be helpful.

Thanks,
Tadge
Fedora Core 3
 
  


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
Free web based control panel for web hosting? mooman_fl Linux - Software 0 06-18-2004 06:16 PM
Web hosting sphinx_12tt Linux - Newbie 4 06-08-2004 10:10 AM
WEb hosting p4ocer Linux - General 3 01-05-2004 08:29 PM
UK Web Hosting. carlywarly General 4 02-17-2003 11:30 AM
Web Hosting boatwg Linux - General 2 01-16-2003 05:40 PM


All times are GMT -5. The time now is 12:25 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration