LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-06-2003, 08:21 AM   #1
dcdjservices
Member
 
Registered: Jul 2003
Posts: 48

Rep: Reputation: 15
Setup DNS, WEB, FTP, and Mail Server Help!


I have Redhat 7.3 on my Gateway. I want to start an online hosting service and have access to the server through SmartFTP. I want email like emailaddress@dcwdservices.com. I have already configured my Nameserver but I do not know if they are correct. They are NS1.dcwdservices.com, NS2.dcwdservices.com, and SERVER.dcwdservices.com. I registered them through godaddy.com so godaddy.com accepted them to configure. I still do not know how to get it working. I hosted DCWDSERVICES.com previously with FREESERVERS.com but changed to my server. I do not know how to setup the Apache Web Server, Email Server, FTP Server, MYSQL Server, and Other Servers I might need. I bought a $20.00US book that told me to access some files that weren't even there! I really need help! I told somebody that I might be able to host them if I got my server working and they are all happy. I really also won't to get all the DNS right and it be through my domain. I do not want to use somebody like geeks.com that provides free DNS. HELP!!!

Nick
 
Old 08-06-2003, 09:23 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
How have you configured the servers (nameserver part)? What's exactly done?
 
Old 08-06-2003, 09:25 AM   #3
dcdjservices
Member
 
Registered: Jul 2003
Posts: 48

Original Poster
Rep: Reputation: 15
I have my Nameservers configured to redirect to the IP Address of My Computer. Is that correct? Also, do you have yahoo IM or AOL IM so we can chat about the problem. It takes forever to do so throuh a public forum? That is how I configured it. I haven't configured my email server, FTP server, MYSQL Server, ect.
 
Old 08-07-2003, 02:08 AM   #4
sashhoney
Member
 
Registered: Jul 2003
Distribution: Red Hat, Fedora, Debian
Posts: 85

Rep: Reputation: 15
i suggest u to test ur name server setting using commands like dig and nslookup.
well if u post ur named.conf, that will be really helpful for me to understand it properly
i suppose u have installed everything from ur RH7.3 CD
1. For Apache:
u need not do so much thing for that
a. enable httpd using ntsysv command.
b. now store ur accebile html files in /var/www/html directory which is ur default directory
c. restart httpd server by using command service httpd start
2.For Sendmail:
a. enable sendmail from ntsysv
b. now u have to modify /etc/mail/sendmail.mc and /etc/mail/access files
u can find extensive help in /usr/share/sendmail{ver}/README

3.For mysql:
u need to enable only mysqld using ntsysv
and run service mysqld start
 
Old 08-07-2003, 07:38 AM   #5
dcdjservices
Member
 
Registered: Jul 2003
Posts: 48

Original Poster
Rep: Reputation: 15
Thanks,
Ill try it. Also, when I try to start my HTTP server, it says that the program cannot be found. Where could I download the HTTP Web Server or how could I fix this. Once I found the place to download it, how would I install it?
 
Old 08-07-2003, 07:50 AM   #6
dcdjservices
Member
 
Registered: Jul 2003
Posts: 48

Original Poster
Rep: Reputation: 15
Sorry, Im new to this,
how do you open ntsysv? I don't even know what that is! Sorry, this is my first time setting a web server and mail server.
 
Old 08-07-2003, 07:53 AM   #7
dcdjservices
Member
 
Registered: Jul 2003
Posts: 48

Original Poster
Rep: Reputation: 15
Also, can you walk me through the step of configuring those files for send mail. I do not know what to do! If you want to talk about it through IM. I'll tell you my IM Addresses which will help talking faster.

Yahoo IM: dcdjservices
AOL IM: linuxredhat73web

Thanks again for all your help!
 
Old 08-07-2003, 02:04 PM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Moving to Linux - Networking Forum
 
Old 08-07-2003, 02:07 PM   #9
dcdjservices
Member
 
Registered: Jul 2003
Posts: 48

Original Poster
Rep: Reputation: 15
I am downloading Redhat 9. Redhat 8 and Mandrake 9 never booted on my computer. Do you think that Redhat 9 will? Everybody I ask says that I can get a better server if I use Redhat 8 or 9. I guess I'll try it. Do you think that Ill boot? If not, Ill have to start asking how to get it booting.
 
Old 08-07-2003, 02:07 PM   #10
dcdjservices
Member
 
Registered: Jul 2003
Posts: 48

Original Poster
Rep: Reputation: 15
I hate Linux 8 cuz it never worked period. I worked for 2 weeks and it never booted. Ill try 9 but ill prop do the same thing.
 
Old 08-07-2003, 05:21 PM   #11
dkaplowitz
Member
 
Registered: Oct 2002
Location: Havertown PA
Distribution: Ubuntu/RHEL/Fedora
Posts: 253

Rep: Reputation: 31
It's not really going to matter that much which version you run. I encourage you not to run to the easy way out and reinstall your OS. You're going to be left with the same issues when you get to your networking setup.

You are asking a lot in one thread, with the DNS, mail, web, etc... Since DNS is the most important thing for you to get setup for all these services, why don't you focus on getting that nailed, then moving on to mail and/or web...one step at a time?

So, where are you with your DNS setup?
 
Old 08-08-2003, 04:18 AM   #12
rogerbennett
LQ Newbie
 
Registered: Aug 2003
Distribution: red hat, Xandros, Puppy.
Posts: 10

Rep: Reputation: 0
I've also got a DNS problem on Red Hat 7.3
From the howto I've managed to get bind to start, but dig doesnt ever supply an answer. /var/log/messages gives me one error about a file not ending in a linefeed, which i'm sure is causing the problem but fundementally the file in question *does* have several empty lines at the end of it, so must end in a linefeed.

I want to be running DHCP on the same machine, so will eventually move to DDNS. so while i was thinking about DNS I've decided to get dhcpd running.

To test it I booted a w2k client (most workstations are running doze). Now the only range in /etc/dhcpd.conf is 192.168.0.xxx with a subnet of 255.255.255.0 However the w2k client was assigned a 169.something IP with a subnet of 255.255.0.0

Any clues?

dcdjservices: Stick with the flavour of linux you have got. Moving to a newer redhat of mandrake isnt going to fix the problem if its your config of lack of understanding thats causing the problem.

Get just DNS working first - either as a caching only server or Authorative on your zone or both. Once bind loads with no errors, and dig works then add additional RRs for your mail or other stuff.
Does bind start OK ? can you dig your loopback or your own IP ?
 
Old 08-08-2003, 05:22 AM   #13
sashhoney
Member
 
Registered: Jul 2003
Distribution: Red Hat, Fedora, Debian
Posts: 85

Rep: Reputation: 15
DCDJSERVICES:about ntsysv:
well just go to terminal window and write ntsysv
u will have a menu from which u can choose the daemons u want to run at startup

ROGERBENNETT:
well if u can post the concerned file, that will be really helpful
 
Old 08-08-2003, 05:44 AM   #14
rogerbennett
LQ Newbie
 
Registered: Aug 2003
Distribution: red hat, Xandros, Puppy.
Posts: 10

Rep: Reputation: 0
here are the contents of /etc/dhcpd.conf

when I add random junk to this file and start the dhcpd I get errors, so i'm pretty sure it is reading this file.
Also, how do I stop dhcpd to reload the config ? I've been killing it with its PID... is there a better way ?

# dchpd.conf ripped from the howto
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option routers 192.168.0.254;
option domain-name-servers 192.168.0.1;
option domain-name "waterside.lan";

subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.10 192.168.0.255;
}

please excuse the domain name. This dhcp/dns setup is currently for a private network not connected to the internet. When the gateway works I'll probably buy/rent a domain name or something.
 
Old 08-08-2003, 03:30 PM   #15
dcdjservices
Member
 
Registered: Jul 2003
Posts: 48

Original Poster
Rep: Reputation: 15
Guys,
I talked to a guy who has been using Redhat for a while and he said that using a newer version came with newer programs. I know that I am going to go to the same problem, but I might as well have the most updated system. I am installing Linux Redhat 9 now. I upgraded it from Redhat 7.3 but did not select to upgrade the boot config since when I did a clean install, it never completed booting. Do you think that it will boot now? I may need help getting it booting since I lost my Redhat 7.3 disks. If I can never get Redhat 9 working, then I'll have to download the IOS files for Redhat 7.3 and re-install it. But, I am hoping that Redhat 9 will work correctly and boot. Doesn't come with a new version of Bind and Apache? Also, I can not figure out my IP address. I tried using a IP website to find it out, but, it gave me the IP address to the T1 box outside. I would use my friends internet connection to dial up through a 56k connection to find it, but my modem isn't compadible with Linux. It said so when I tried to install Linux Redhat and mandrake.
 
  


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
Please help me to setup FTP and Mail server linuxpp Linux - Networking 4 03-17-2005 09:47 PM
How the DNS-server is connected to work of a web-server and a mail-server? ukrainet Linux - Newbie 2 01-10-2005 09:18 PM
setup mailserver/web server/ftp server hariiyer Linux - Networking 1 11-27-2004 01:16 AM
Setup a linux server, DNS, WEB, FTP, and Mail Server Help watermelon_lee Linux - Networking 1 08-26-2003 03:09 AM
Web/Mail/etc server setup drjimstuckinwin Solaris / OpenSolaris 2 01-10-2003 04:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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