LinuxQuestions.org
Review your favorite Linux distribution.
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-08-2003, 04:42 PM   #16
dcdjservices
Member
 
Registered: Jul 2003
Posts: 48

Original Poster
Rep: Reputation: 15

I installed Redhat 9 ok. It booted fine to. I cannot start my HTTP server though. I try to but it says it cannot start cuz of some resolution problem and just says that the config file with line 201. I also want to know how to find the IP address to my computer. I do an online search, but I gives me the IP address to the CBEYOND box outside. How do I find my IP address. Do I use theirs? Help Please!
 
Old 08-09-2003, 12:26 AM   #17
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Wow, lots and lots of questions all in one post. Not a bad idea if you've got a networking stallion helping you..

I'd suggest from now on to start a new thread when seperate problems arise

As for finding your IP address:
ifconfig

If it returns "unknown command" or whatever:
/sbin/ifconfig

This will give you the IP assigned to that machine, if any. For your external IP, if that one is private, you'll have to check a page that gives that info, something like:
http://dynamic.zoneedit.com/checkip.html

Cool
 
Old 08-09-2003, 03:40 AM   #18
pnh73
Member
 
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381

Rep: Reputation: 30
It seems you are finding the configuration pretty hard. I am currently running my own hosting for myself and some friends. This is on a 500Mhz system running Red Hat 8.0. To help me configure it I use a piece of software called Webmin (www.webmin.com) this software is extremely easy to install and use. It allows you to configure all your servers through a web interface. This is accompanied with some help concerning configuration. I would recommend this to anyone who doesnt have a lot of confidence with configuration files or finds them difficult to use.

One thing i dont understand is why are you using a DNS server? I dont have one and i am running my sites through www.dyndns.org which automatically forward the sites to me. Also the people you register the site with should allow you to have the site directed to your IP. DNS seems entirely unneccessary unless you are going to use separate PC's for separate sites, which for someone hosting a site at home i would say is unneccessary. I use named virtual hosts in apache to host multiple hosts on the same computer and this works seemlessly.

I would also recommend using Postfix for your mail server. This is easier to configure than Sendmail and is very flexible and reliable.
 
Old 08-09-2003, 11:27 AM   #19
dcdjservices
Member
 
Registered: Jul 2003
Posts: 48

Original Poster
Rep: Reputation: 15
Thanks,
Ill try Webmin. I want to run my DNS through a free DNS provider, but Godaddy.com won't let me cuz everything ive tried says it isn't registered. I try to register but it only say ____.dcwdservices.com. Can you help me with this?
 
Old 08-09-2003, 12:53 PM   #20
dcdjservices
Member
 
Registered: Jul 2003
Posts: 48

Original Poster
Rep: Reputation: 15
Ok,
I tried to install Webin but it dosen't work. when i try to access localhost, it says: "not found". i still cannot access dcwdservices.com and followed the instructions it said. what do i do now. do any of you know how to setup webmin? and, lets not forget the biggest thing. i have to transfer servers quick. a hacker is deleting stuff on my site, adding stuff, and everything you name it. i really want to leave this server fast before i loose everything cuz of this hacker! help! please!
 
Old 08-10-2003, 12:41 PM   #21
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
webmin runs on port 10000, try

http://localhost:10000

also phn73, sendmail was also extremely easy to setup, all i had to do was change 1 line in the sendmail.mc file to allow it to recieve mail from the internet and run the m4 command to generate a new sendmail.cf, copy it over and restart the server. im not sure if that's much harder or not than postfix, but it sure was pretty easy. but i do hear postfix is more secure.

also dynu.com lets you use their name servers if you have a dynamic ip address, but they make u pay like $30.00/year. If you really have to setup DNS, there is an excellent book, DNS and BIND from O'reilly books that explains how to setup DNS servers for BIND 4, 8 and 9 (i have the book right here in front of me). It costs like $47.00 though.

hacker issue:

when u setup a new server, the 1st thing you should do is secure it. if you plan on being a true admin, you have to learn iptables. there are several tutorial on here (do a search for iptables).

for now, take the machine offline to prevent further damage.
or you could type the following rules in as root (superuser).

iptables -P INPUT REJECT
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

this will block access to your web server and any other server also. it would seem though that someone has your password or something. several things could have been done to the machine. if it were me, i'd forget trying to figure it out and just re-format and re-install and set a strong password, one that has no real meaning like 1$x%.25aZb or something and configure a really good firewall script. i think u can afford to do this because you arent really in a production yet.
 
Old 08-10-2003, 12:44 PM   #22
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
wait...did u mean the hacker is messing up the site that's hosted elsewhere? (not on your machine) if so then just save what u still have left, change the password on the site and get crackin on the the one you are trying to put up. but still, you will need to setup a firewall script.
 
Old 08-10-2003, 02:11 PM   #23
Snabber
Member
 
Registered: Dec 2002
Posts: 76

Rep: Reputation: 15
type ifconfig to get your ip address. Post it's output here.
 
Old 08-16-2003, 12:10 PM   #24
dcdjservices
Member
 
Registered: Jul 2003
Posts: 48

Original Poster
Rep: Reputation: 15
What is ifconfig?
 
Old 08-16-2003, 12:11 PM   #25
dcdjservices
Member
 
Registered: Jul 2003
Posts: 48

Original Poster
Rep: Reputation: 15
Yes,
someone is hacking into the server in Jacksonville Florida. And, of all www folders to pick, they pick mine! I had to talk to the server people about changing my account info there, someone hacked in again and changed my password so I couldn't access it like all week!
 
Old 08-16-2003, 12:14 PM   #26
dcdjservices
Member
 
Registered: Jul 2003
Posts: 48

Original Poster
Rep: Reputation: 15
Ok,
I entered localhost:10000 but it said: Login Failed. I never setup a user name and password, how do I do that?
 
Old 08-20-2003, 11:41 AM   #27
pnh73
Member
 
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381

Rep: Reputation: 30
you have to login with you root username (root) and password... this will give complete access the the webmin interface. The first thing i did when i got this running was to setup a webmin account that would act as my server admin. This would only allow changes to my servers that i would be running. I also restrict the webmin root login to my machine on the local network from which i admin the system.

Sorry i havent replied for ages... i've been on holiday.
 
Old 08-24-2003, 05:30 PM   #28
dcdjservices
Member
 
Registered: Jul 2003
Posts: 48

Original Poster
Rep: Reputation: 15
Thanks,
I tried that but it still said the same thing!
 
Old 08-24-2003, 05:37 PM   #29
pnh73
Member
 
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381

Rep: Reputation: 30
Question

Thats very strange. I just logged straight in with my root details. Have you tried logging in to root from the console (CLI) to make sure you have the correct password?

Paul
 
Old 08-24-2003, 06:20 PM   #30
dcdjservices
Member
 
Registered: Jul 2003
Posts: 48

Original Poster
Rep: Reputation: 15
Now, I tried to access http://localhost:10000 and it said error loading host. What is wrong now?
 
  


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 07:23 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