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
 
LinkBack Search this Thread
Old 05-04-2005, 12:49 PM   #1
Porter200EL
LQ Newbie
 
Registered: May 2005
Posts: 3

Rep: Reputation: 0
Red hat - Mail Server + web server


Hi all,

I am a red hat newbie, and I am trying to set up Red Hat 9.0 on an old 550Mhz, with 384MB of RAM. I own a domain name, and I want to point it to my ip address and have red hat be my web server. I have a router, but I have opened ports 80 and 443 to allow incoming http. How can I set up red hat as a web server to host my site? Also, can I use my domain that I own in order to set up red hat as a mail server? Example: if I own samplename.com, how can I set up a mail server to recieve mail at me@samplename.com? I know these are 2 big questions, but I am willing to spend the time and learn, so any help is greatly appreciated.
 
Old 05-04-2005, 01:55 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,344

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
if you make your router forward the relevant ports to that server, then they will be used. You will require some form of external DNS provider for referencing back to your sites, and for further DNS within your control, you might want to use a service such as zoneedit.com. As far as recieveing mail etc... all down to you just configuring your mail service correctly, so read up on the documentation.
 
Old 05-04-2005, 02:36 PM   #3
msound
Member
 
Registered: Jun 2003
Location: SoCal
Distribution: CentOS
Posts: 465

Rep: Reputation: 30
ive always had problems setting up a mail server so ill just comment on the web server part of your question.

acid_kewpie is absolutely right about the DNS settings. If the company your purchased your domain name through does not host your DNS then you'll have to find another provider. I use easydns - www.easydns.com. they can host your DNS and e-mail MX settings for your domain name. Its very cheap, easy to use, and they update their servers every 15 minutes. So if your ip address ever changes youre only looking at 15 minutes of down time (give or take)

On redhat 9 i believe the default apache server directory is /var/www

Go into your redhat Service Configurator (i believe its K-Menu - System Tools - More Tools - Service Configurator) and make sure that apache starts when your system starts. you can also start apache from this menu to make sure thats its already turned on.

Open your web browser and type in the server internal ip (192.168.xxx.xxx) It should bring up the default apache web server page. Try placing an html file in the /var/www/html directory and try it out. Let's say you have a test.html file, then you would go to 192.168.xxx.xxx/test.html and that page should show up.

from there its just a matter of moving your website content in to /var/www/html and getting the dns setup for your domain name.
 
Old 05-05-2005, 02:04 AM   #4
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Use a newer distro because Redhat 9 is now obsolete and there are no more security updates for it from Redhat. Try Fedora (which is the replacement for Redhat Linux).
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I set up the web server on Red Hat 8.0 RSNServer Linux - Software 7 07-30-2005 06:29 AM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 06:21 AM
Setting up a web server, using Red Hat 9 Ricochet423 Linux - Networking 16 04-20-2004 11:06 AM
License for Red Hat Web Server plexi100 Linux - Newbie 3 10-29-2003 07:52 PM
Help!!! Red hat 7.2 FTP, WEB, MAIL connectivity to the server is running slow jobesd Linux - Distributions 0 02-28-2002 03:49 PM


All times are GMT -5. The time now is 10:04 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