Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
08-06-2003, 08:21 AM
|
#1
|
Member
Registered: Jul 2003
Posts: 48
Rep:
|
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
|
|
|
08-06-2003, 09:23 AM
|
#2
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696
|
How have you configured the servers (nameserver part)? What's exactly done?
|
|
|
08-06-2003, 09:25 AM
|
#3
|
Member
Registered: Jul 2003
Posts: 48
Original Poster
Rep:
|
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.
|
|
|
08-07-2003, 02:08 AM
|
#4
|
Member
Registered: Jul 2003
Distribution: Red Hat, Fedora, Debian
Posts: 85
Rep:
|
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
|
|
|
08-07-2003, 07:38 AM
|
#5
|
Member
Registered: Jul 2003
Posts: 48
Original Poster
Rep:
|
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?
|
|
|
08-07-2003, 07:50 AM
|
#6
|
Member
Registered: Jul 2003
Posts: 48
Original Poster
Rep:
|
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.
|
|
|
08-07-2003, 07:53 AM
|
#7
|
Member
Registered: Jul 2003
Posts: 48
Original Poster
Rep:
|
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!
|
|
|
08-07-2003, 02:04 PM
|
#8
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Moving to Linux - Networking Forum
|
|
|
08-07-2003, 02:07 PM
|
#9
|
Member
Registered: Jul 2003
Posts: 48
Original Poster
Rep:
|
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.
|
|
|
08-07-2003, 02:07 PM
|
#10
|
Member
Registered: Jul 2003
Posts: 48
Original Poster
Rep:
|
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.
|
|
|
08-07-2003, 05:21 PM
|
#11
|
Member
Registered: Oct 2002
Location: Havertown PA
Distribution: Ubuntu/RHEL/Fedora
Posts: 253
Rep:
|
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?
|
|
|
08-08-2003, 04:18 AM
|
#12
|
LQ Newbie
Registered: Aug 2003
Distribution: red hat, Xandros, Puppy.
Posts: 10
Rep:
|
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 ?
|
|
|
08-08-2003, 05:22 AM
|
#13
|
Member
Registered: Jul 2003
Distribution: Red Hat, Fedora, Debian
Posts: 85
Rep:
|
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
|
|
|
08-08-2003, 05:44 AM
|
#14
|
LQ Newbie
Registered: Aug 2003
Distribution: red hat, Xandros, Puppy.
Posts: 10
Rep:
|
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.
|
|
|
08-08-2003, 03:30 PM
|
#15
|
Member
Registered: Jul 2003
Posts: 48
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 07:04 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|