LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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-28-2003, 01:53 AM   #1
ActionPlant
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Rep: Reputation: 0
Super-new newbie, need direction.


Hey...I'm really wanting to get into this. I've had a site for a few years, always hosted remotely. I lived with several network folk for a while, and was always really interested in servers and whatnot.

Well, my site is ready to launch a new version, and I'm wanting to host it on my own server now. So I built a new box, installed RedHat 9 (checked Server) and have no clue where to go next. I'm brand new to Linux, brand new to Apache...I've never done this before, but will eat up anything you throw my way.

Of course I've been googling for resources, but a LOT of them lead here.

Can anyone point me to some excellent sources and tutorials to get me up and running? I'm running RedHat 9 (I'd rather learn in GUI mode as I have the fervor but time is a limited factor) which is connected to my net (static IP) through an external router.

Any and all pertinent resources will be EXTREMELY appreciated. I'm looking to simply serve the website (with PHP, MySQL and CGI all enabled) through my router and to the net. Nothing fancy, but for someone who's never done it before the job is daunting at best.

Thanks in advance!
 
Old 10-28-2003, 02:02 AM   #2
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Always check the www.tldp.org for tutorials. Excellent site, although it can sometimes be written expecting some prior knowledge, so feel free to post up for clarification on any portions that aren't already broken down around here

Next, I've found it easiest to learn as you go. Throw the site on the box, test it locally or grab yourself a dummy domain name/free from somewhere like no-ip.com and play with it to get a feel. Then when you are comfy, throw your site up and redirect the IP to yours from home. Here's a really sad, short rundown of how I go about it, some steps you already have covered, but for reference I'll go through them all, but quickly:
Go to somewhere like www.godaddy.com and buy a domain name. Before filling in the DNS info when setting it all up, head over to www.zoneedit.com and grab yourself a free DNS server by signing up and providing the info you get when you purchase your domain name. Plug in all the values, specifically the IP from your home (that's the WAN IP not your private IP assigned by your router) and it will provide you with 2 DNS values. Now go back to the page that you are setting up your domain on (godaddy.com) and plug in the DNS servers in the area requested. Complete the rest of both the setups following help docs provided on the sites respectively. Finally, setup Apache to run your site (check apache.org for info on setting it up, search this site, and of course post up wrt anything confusing) and whatever backends may be necessary (MySQL).

After a few hours everything should be live, and you will be hosting from your own place (this all assumes your ISP is cool with it, and doesn't block necessary ports). Then from there, you can move onto hosting your email server as well, fun stuff.

Good Luck!

Cool
 
Old 10-28-2003, 02:08 AM   #3
ActionPlant
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks so much! Lots to take in at the sites listed, but that's GOOD.

Question on the DNS you suggested...is there a difference if I am my own? As in I'm wanting to serve out three or four different domains from my single IP...I've heard that Apache is terrific for this, but of course I don't quite understand the difference between Apache's name server whatnot and the actual DNS.

Thanks though, I'll get to work playing with it like you suggested. Now I'm truly getting excited!

Oh and one more thing...I provide free webmail for my patrons. Is there a free, configurable mailserver prog that allows scripted automated, dynamic, scripted sign-ups for yourname@mydomain.com? I wouldn't mind switching over and running my own mailserver too, but I don't want to get too far ahead of myself.

Last edited by ActionPlant; 10-28-2003 at 02:09 AM.
 
Old 10-28-2003, 02:35 AM   #4
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Well...

Apache doesn't provide DNS, however it provides nameserver redirection for virtual hosting. What that means is that you can host 100 (just a number, not the limit by any means) sites from 1 Apache install, all by simply distinguishing them by their domain name.

DNS is something like BIND or Tiny/DJBDNS. I strongly suggest you take the zoneedit.com option for now, take things in a little bit at a time. Learn to crawl before you walk, then walk before you run. DNS is a bit advanced, and not necessary as your ISP and zoneedit.com both provide excellent DNS services already, all included in your monthly bill already, or free from zoneedit.com

Webmail:
Well, I'm sure there is something like that in the module addons for squirrelmail; however you might find it a bit easier to try one of the integrated solutions that likely have an option already for that, something like moregroupware (www.freshmeat.net).

Cool
 
Old 10-28-2003, 02:38 AM   #5
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,438

Rep: Reputation: 52
Hi Actionplant,

Apache is terrific for serving different domains on a single IP address. In the apache configuration, you would need to setup virtual hosting to do that trick. And I must say it's fairly simple to use. Now if you run your own DNS server, you then can establish intranet webpages (that's what i do). Therefore, if you setup your own DNS server you can have "actionplant.com", "actionplanters.com", and whatnot while the outside world cannot view it (your internal computers must be directed to your DNS server of course).

My explanations are bare I'm just explaining to you that what you want is possible. If you need more detailed information on setting that up, don't hesitate to ask

-twantrd
 
Old 10-28-2003, 02:57 PM   #6
ActionPlant
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Well I went through quite a bit of www.tldp.org....good stuff there, but I'm noticing there are a LOT of definitions and not as much "do THIS then THIS then THIS" which is what I'm looking for to get going. I need to find a place to start, get something going and then learn to tweak it as I go. When I open up my Apache configuration in RedHat I don't know what to do with any of this stuff! If I've registered ActionPlant.com and have a nameserver (I guess I already had two), what do I put as the server name? Is THAT where the DNS goes, or is that the name of this particular server, and what does it do? What does it mean? The webmaster email address I can deal with. "All available addresses on port 80" is what it's set to listen to. I click the next tab...it's virtual hosts. Is this where I add my domain name? What do I do with "Lock file", "PID File", and the "Core Dump Directory"? What values should I use in User and Group under the same "Server" tab? Performance tuning is fairly self-explanatory.

What I need is that jump-start. Definitions are great, and there look to be a lot of resources for learning to tweak this thing, but just like a car, I can tweak away and it does me no good unless I know how to use the ignition. How do I get started here?
 
Old 10-28-2003, 03:14 PM   #7
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
here are some newbie-friendly howtos:

http://linux.weblogger.com/

http://www.linuxbeginner.org/


 
Old 10-28-2003, 03:32 PM   #8
ActionPlant
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Awesome..thanks!
 
Old 10-28-2003, 03:54 PM   #9
ActionPlant
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Original Poster
Rep: Reputation: 0
SWEET. Just in case anyone else is needing the same thing, here's what I finally found: http://www.linuxorbit.com/modules.ph...tid=542&page=1

Awesome how-to for infant n00bs (like me). Thanks for all the help, guys!! The links pointed me in the right direction.
 
  


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
please help a super newbie with RH9 yarzy Linux - Newbie 12 01-29-2006 03:21 PM
super newbie needs help ! kinghimself Linux - Software 5 11-09-2003 11:28 AM
super newbie and mandrake8.1 Arny rimmer Linux - Newbie 4 10-28-2003 12:31 AM
super newbie a45b22chp Linux - Newbie 11 05-04-2003 05:46 PM
Newbie needs direction Aragorn44267 Linux - Networking 3 08-22-2002 09:53 AM


All times are GMT -5. The time now is 11:50 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration