LinuxQuestions.org
Help answer threads with 0 replies.
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 01-14-2003, 10:34 PM   #1
Z28kid
Member
 
Registered: Jan 2003
Location: Long Island
Posts: 72

Rep: Reputation: 15
How to set up a web server with pc


Hi, i really new to all this linux stuff so bare with me. Basically i want to set up a webserver on a pc. I have a few questions..

1.Should i run windows and linux or just the linux on the pc?

2.How would i go about making different domains to host differnet websites?

3.Where can i get some good information to help get me started?

Thank you
 
Old 01-15-2003, 01:11 AM   #2
quest007
LQ Newbie
 
Registered: Jan 2003
Location: India
Distribution: Redhat
Posts: 1

Rep: Reputation: 0
hi,

u want ur pc to behave as a web server (linux) then you have to know about apache. visit www.apache.org.

hope it will help u

Quest
 
Old 01-15-2003, 01:43 AM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
1. Linux of course (why would anyone here suggest otherwise )

No, but are you going to be running what you believe to be high traffic sites, or are you going to basically know everyone who visits you? If you are going to be running high traffic sites, you might consider getting 2 boxes, 1 as a workstation to do all your normal tasks, and a second to be your "always on" server. That way, your downtime will be very minimized (if ever, other than security updates), and you can run whatever OS you want, dual, triple, Tentuple (whatever 10 is ) boot, whatever. The server should be running linux though.

2. Making different domains? Well you'd go to a registrar and buy em. There's some threads around here on where to find the cheaper registrars (and even some free ones). Then you'll need to look into VirtualNetwork (I believe) which will allow you to run several websites from 1 box, with 1 apache setup, and 1 distro!

3. The link has already been provided above The other thing is to install Apache on a linux box, and just read the man pages and config files. Do some trial and error runs, and see what you will need to actually learn/research about running apache on a linux server. Then unleash your masterpiece website on the world, and watch it blossom into the next Google! Or Yahoo, or better than that: www.theonion.com ( http://uptime.netcraft.com/up/graph/...submit=Examine )



Cool
 
Old 01-15-2003, 01:45 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Z28 eh? What year? I've got an 83 that I threw a 406 in, just finishing it up this week! I'll post some pics in General when it's done and running

Cool
 
Old 01-15-2003, 09:46 AM   #5
Z28kid
Member
 
Registered: Jan 2003
Location: Long Island
Posts: 72

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by MasterC
Z28 eh? What year? I've got an 83 that I threw a 406 in, just finishing it up this week! I'll post some pics in General when it's done and running

Cool
I got on 86 with a 350 5 speed.let me know when your pics are up. ill post some of mine when i get a chance.

back to the linux. I know i have to buy the different domains. but how can i get a few domains hosted on one server. like resturant.com and then drinks.com something like that. it would probabaly have like the most traffic 100 people a day. but i want to be able to host different sites on the one server how would i do this?

BTW thanks for all the help so far!
 
Old 01-15-2003, 09:56 AM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
You'd want to setup virtual hosts.

Check out this page: http://httpd.apache.org/docs/vhosts/

Explains it all there.

And please don't mention Camaro's, makes me miss both of mine, my first one was an 84 305 and my other one after that was a 94 Z28.

(Currently keeping my eye out for a used 93 to 96 Z28 or a 88 to maybe 92 Iroc, Z28 or RS Convertible, preferrably White on convertible, though to trade my crappy no power Civic in or sell.. )

Last edited by trickykid; 01-15-2003 at 09:59 AM.
 
Old 01-15-2003, 10:33 AM   #7
pilot1
Member
 
Registered: Jun 2002
Location: USA
Distribution: Gentoo, Fedora Core
Posts: 408

Rep: Reputation: 30
You also are gonna need to set up some security for you Linux box, or you will get owned very quickly.
The absoulete minimum you would be having an iptables or ipchains firewall, but more is better.
 
Old 01-15-2003, 04:24 PM   #8
Z28kid
Member
 
Registered: Jan 2003
Location: Long Island
Posts: 72

Original Poster
Rep: Reputation: 15
would a 56k modem work for the transfer of files? they will probably be all html. also my isp has to give me an ip address right?
 
Old 01-15-2003, 05:44 PM   #9
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Your ISP gives you an IP everytime you login to the internet. If it's constantly changing (which with dial up is very likely) then you'll need to look into a DynamicIP DNS host. Check out www.no-ip.com and www.dynudns.org

That dynu address might be wrong, so a search on google might be fruitful

Cool
 
Old 01-15-2003, 08:22 PM   #10
Z28kid
Member
 
Registered: Jan 2003
Location: Long Island
Posts: 72

Original Poster
Rep: Reputation: 15
is no-ip.com really reliable? does anyone use them and has some comments about them. I think i might pick up a book on the linux? would you guys think a book would be a really good help to get started?
 
Old 01-15-2003, 09:10 PM   #11
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
www.masterc.no-ip.org I use em, they work great.

I don't have any books, but many people here recommend anything O'Reily (sure I mis spelled it). I think it's easier to just dig in, get your feet wet, read the threads search on google.com/linux and figure things out. However, to do it properly, you might consider getting a book

Cool
 
Old 01-15-2003, 09:38 PM   #12
Z28kid
Member
 
Registered: Jan 2003
Location: Long Island
Posts: 72

Original Poster
Rep: Reputation: 15
so basically if i want to my make own name like www.webdeveloper.com and i wanted to use no-ip it would have to be www.webdeveloper.no-ip.com is this right?

im kinda confused...any help..
 
Old 01-16-2003, 01:46 AM   #13
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Well, no not necessarily, but yes, if you want it for free. There is 1 out there, that I for the life of me cannot remember the name for (although it is mentioned in at least 1 related thread on this site) that has both a free actual domain (meaning www.thereisnothinglikeaZ28.com ) and is for Dynamic IP's (meaning it has the ability to change, however it does it whether it's via a program you run on your box or whatever).

So to better, more directly answer your question without a bunch of ( )

Yes. If you want to use the free no-ip.com service, then you will have to have something similar to that. Although they have more to choose from than just whatever.no-ip.org there is servebeer.com And like 12 others.

You do have the option to buy a domain still, and be able to host it with a dynamic IP, that will run you ~20 bux a year if you do it through no-ip as your registrar.

Does that help with any confusion?

Cool
 
Old 01-16-2003, 09:13 AM   #14
Z28kid
Member
 
Registered: Jan 2003
Location: Long Island
Posts: 72

Original Poster
Rep: Reputation: 15
yea it helps alot i appericate it. Im just trying to tie all these things together so i get an idea of what i have to do. but so far all the info is priceless.
 
  


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 I set up a web server? txprogrammer Linux - Newbie 6 08-26-2005 06:47 AM
how to set up a web server?? snakeo2 Linux - Newbie 12 07-07-2004 09:14 PM
How do i set up a web server flamah Linux - Newbie 19 05-25-2004 08:27 PM
how to set up a web server sameermanagoli Linux - General 1 06-26-2003 08:35 PM
Set up Web Server? lax2sman Linux - Newbie 3 02-11-2002 10:09 PM


All times are GMT -5. The time now is 06:08 PM.

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