LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-20-2007, 05:52 PM   #31
Stryker
LQ Newbie
 
Registered: Jan 2007
Distribution: Fedora 20
Posts: 27

Original Poster
Rep: Reputation: 15

sorry..and is it also possible for me to register a .com domain name to this webserver even though it has a dynamic public IP. i mean could i use peppie32.dyndns.org (or similar) as a nameserver?
 
Old 01-20-2007, 06:02 PM   #32
Stryker
LQ Newbie
 
Registered: Jan 2007
Distribution: Fedora 20
Posts: 27

Original Poster
Rep: Reputation: 15
sorry i only added the virtual host for www.peppie32.dyndns.info now. could you please check if that one also works?
 
Old 01-20-2007, 06:04 PM   #33
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Not working for me.

Wont ping wither.

here's the IP I get 81.39.115.73
 
Old 01-20-2007, 06:14 PM   #34
Stryker
LQ Newbie
 
Registered: Jan 2007
Distribution: Fedora 20
Posts: 27

Original Poster
Rep: Reputation: 15
ok...will look into it later. what about what i asked about registering another domain, but using peppie32.dyndns.org (or similar / custom) as a nameserver.

also what version of clamav do you suggest. because if i look at Synaptic dotdeb shows me version 0.90~rc2-1

also what if we cant afford a hardware firewall at the moment...what would be the best software to put in its place?
 
Old 01-20-2007, 06:16 PM   #35
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
The only way to get another site working through a router like that is to run it at a different port. The current site is at 8080, so do the next at 8079, and then forward anything hitting the router at 8079 to the separate box. or make apache listen on 2 ports, and anything hitting port A goes to one site, and port B to the other. You can't use domain names in the equation, as the only answer dyndns will give is for peppie32.dyndns.org.

Peace,
JimBass
 
Old 01-20-2007, 06:28 PM   #36
Stryker
LQ Newbie
 
Registered: Jan 2007
Distribution: Fedora 20
Posts: 27

Original Poster
Rep: Reputation: 15
ok that makes sense. and what about the clamav and firewall i was talking about? and how do i add a daemon on? i have a package called ddclient which updates dyndns with my latest public IP. but i want it to run as a daemon so that it does it automatically. but the chkconfig --add ddclient doesnt work
 
Old 01-20-2007, 07:03 PM   #37
xjlittle
Member
 
Registered: Aug 2003
Location: Indiana
Distribution: fc6 sles9 & 10 kubuntu ubuntu-server
Posts: 240
Blog Entries: 2

Rep: Reputation: 30
Your firewall is most likely iptables as this is what most distros come with. It is a script that runs at startup.
Code:
chkconfig iptables
will show you if it is on.
Code:
iptables -L
will show you the current configuration. It most likely will require configuration so you want to look into that.

I'm not familiar with clamav relative to web servers so can't help you there.

If it's possible to run ddclient as a service it should say so in the docs that came with it. You could however put it in your boot.local or rc.local startup scripts. The will be under wherever your start scripts are located, usually /etc/init.d.

Quote:
what about what i asked about registering another domain, but using peppie32.dyndns.org (or similar / custom) as a nameserver.
I don't know about a nameserver but if you're asking if you can register two domains that hit the same ip you can. Well at least I do at no-ip which is similar to dyndns. They can all run on the same port and ip as well in apache.

The router simply forwards that port number to the IP address that you told it to. Apache sorts it out as to which server it should use. This is the whole intent of virtual servers.

hth
 
Old 01-20-2007, 07:17 PM   #38
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Latest stable release of clamav is 0.88.7 . 0.90 is a release candidate.

See www.clamav.net

If you are looking at using clamav with apache, I think there are some add-ons around for this.

Also, this may help you with iptables

http://iptables-tutorial.frozentux.net/

Last edited by billymayday; 01-20-2007 at 07:20 PM.
 
Old 01-20-2007, 07:23 PM   #39
Stryker
LQ Newbie
 
Registered: Jan 2007
Distribution: Fedora 20
Posts: 27

Original Poster
Rep: Reputation: 15
ok thanks guys...will check out the iptables configuration. and i have sorted out the multiple domains thing. only thing is it only works on port 8080. but thats ok.

thanks everyone for your help and thaks especially to JimBass for taking me through this pretty simple proccess. lol
 
Old 01-20-2007, 07:41 PM   #40
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Yeah, using 2 different domain names would sort things out nicely for apache, then you just need to make apache aware that anything asking for peppie32.dyndns.org goes to one site, and asking for somethingelse.dyndns.org goes to another, or use a totally seperate client, like one dyndns and one no-ip.

IPtables are a fine free firewall software for linux, but having a dedicated box is that much stronger. The box runs all the time, whereas IPtables are a script on a box they are protecting. Far better than nothing, but still not a hardware firewall.

The tools provided by dyndns probably update every 20 minutes or so, you shouldn't need to script them. You could add them to cron if for some reason they don't. You'll also need cron to update the virus database from clamav.

I can't tell you anything about chkconfig, I find rpm distros to be worth less than the blank cdroms they are burnt onto.

You're welcome for the help provided, glad we're able to sort things out.

Peace,
JimBass
 
  


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
Making a website public IanThePetRock Linux - General 33 08-01-2005 02:41 PM
Making Webalizer Stats Public PensJunkie Linux - Software 2 06-07-2005 10:40 AM
Making a public samba share joncolby Linux - Software 0 06-24-2004 01:02 PM
Making zip drive public phatboyz Linux - Hardware 3 03-02-2004 03:58 AM
making RedHat 9 server public with WRT54G williamp0044 Red Hat 1 02-22-2004 12:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:45 AM.

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