LinuxQuestions.org
Help answer threads with 0 replies.
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 03-15-2007, 06:58 PM   #1
gViscardi
LQ Newbie
 
Registered: Mar 2007
Posts: 4

Rep: Reputation: 0
Setting up a public web/mail server


Hello,

For the past week or so I have been trying to setup a web/mail server for myself and a few friends. I purchased a domain name and have Slackware 11.0 installed on the server box. The server contains only 1 NIC and is connected to a router/broadband modem (Verizon FiOS) along with my daily use desktop running Windows XP/Vista dual-boot.

I have installed Apache, MySQL, PHP, QMail, dnscache and tinydns. I have setup my domain (through godaddy.com's account page) to use my servers DNS info, but I am still unable to connect to my domain through either mail or web.

Does anyone know of any good guides on how to set something like this up? Or would anyone be willing to help me out and guide me through the process? I have been playing with Linux for the past few years but nothing more than general usage, not much on the admin side, so I am sure I am missing quite a few key steps. Oh, and if my explanation of what I would like/need is lacking, let me know and I will try to be more specific.

Any help would be more than grateful, thank you for your time.

Greg
gviscardi@gmail.com
 
Old 03-16-2007, 12:01 PM   #2
mpapet
Member
 
Registered: Nov 2003
Location: Los Angeles
Distribution: debian
Posts: 453

Rep: Reputation: 46
Break the Problem Down

You've got a bunch of different things going on that don't make sense.

1. Is your problem you can't access your web server from the Internet? If so, do you have a static IP from verizon or are you on the typical home broadband setup? Can you reach your web server by typing in the IP address?

2. I'm not sure why you want to get started doing DNS when you can't even get a public web server going. Let godaddy do your dns for now, you've got bigger fish to fry at the moment. DNS is a big deal and unless you can be a good net citizen and spend the time and effort watching your dns server, you best option is to let godaddy do it. Hopefully, they have someone competent watching it.

3. Setting up your own mail server is a big deal. Many default mail server setups are ripe for spam relay. Without good reporting tools, you have no way of knowing unless you like to read logs on a daily basis. Again, you've got bigger fish to fry.

Getting a public web server up is easy. Keeping it up is a little harder especially if you want to add bells and whistles. Concentrate on getting your http server up first and keeping it up.
 
Old 03-16-2007, 05:29 PM   #3
gViscardi
LQ Newbie
 
Registered: Mar 2007
Posts: 4

Original Poster
Rep: Reputation: 0
1. I can access my web server via IP, but not via domain name, even when I had it set up through godaddy. I believe I have a static IP as it has not changed in the 3 months since I have had the service, but I cannot say for certain.

2. I was attempting to setup my own DNS because I believed that godaddy's DNS would not work unless I had purchased a hosting plan through them, but if you say it will work regardless then I will suspend the DNS idea for now until I get a better understanding of the concept.

3. I am willing to do what I can to protect my mail server from malicious intent, and knowing that there are risks, I would like to at least try to see if I can do it, but if you say the HTTP server needs more attention for the moment then I am willing to let it go for now, temporarily.

I hope these responses help to further your understanding of my needs/wants.

Once again, thank you for your time and if any more information is required, please let me know.
 
Old 03-16-2007, 06:08 PM   #4
mpapet
Member
 
Registered: Nov 2003
Location: Los Angeles
Distribution: debian
Posts: 453

Rep: Reputation: 46
Clean Up

1. Verify with your ISP first. I'll bet it's dynamic. They charge a premium for static even though many times the IP doesn't change much. If it is dynamic, you need dynamic dns service.

2. They should give you a place to enter an IP address where you manage your domain name. That's where you put your public IP address from your ISP. Or, that's where you put your dynamic dns service ip address. I don't know anything about go daddy though. Once you enter it, wait a couple of hours and see if entering your domain name works.

3. Uninstall the domain name server package. Just don't get started with it yet. You have quite a ways to go before you can responsibly admin a mail server much less mucking about dns. Please take the time to learn http servers first and make sure you have some way to read and understand your log files.
 
Old 03-16-2007, 07:48 PM   #5
gViscardi
LQ Newbie
 
Registered: Mar 2007
Posts: 4

Original Poster
Rep: Reputation: 0
For testing purposes, if I used my current IP, would it work even if it is dynamic? I mean, until it is renewed that is.
 
Old 03-19-2007, 10:51 AM   #6
mpapet
Member
 
Registered: Nov 2003
Location: Los Angeles
Distribution: debian
Posts: 453

Rep: Reputation: 46
Temporarily

Yes, temporarily it should.
 
Old 03-19-2007, 10:30 PM   #7
merize147
Member
 
Registered: Oct 2004
Location: Where ever I put down Lappie
Distribution: Dragged kicking and screaming to RHEL
Posts: 132

Rep: Reputation: 15
Quote:
Originally Posted by gViscardi
....until it is renewed that is.
Once you know it's working check out www.no-ip.com for DDNS service
 
Old 03-20-2007, 08:46 AM   #8
MoMule
Member
 
Registered: Jul 2006
Posts: 134

Rep: Reputation: 15
I agree with merize147 to check out no-ip.com

On the dynamic side, you can install an application on your server (provided by no-ip.com) that will send out your current dynamic IP to update your DNS entry. I run a similar setup to yours at home, and I am on a dynamic IP account.

Did you follow a guide to set up your server? Maybe you should take a look at shupp's toaster. You can include ProFTP to let your users update their own virtual websites, and the afore mentioned dynamic DNS updater...

Deion "Mule" Christopher
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail Server public IP problem crackerB Linux - Software 1 09-28-2006 03:52 PM
VPN Server: need help setting up a public server accessible by win xp clients hamish Linux - Networking 6 09-20-2006 03:39 AM
Setting up a home web server with PHP, MySQL, and a mail client Kyle_D Linux - General 1 01-14-2005 02:52 AM
setting up password protected web forms on an apache web server AZDAVE Linux - Security 3 07-07-2004 01:03 PM
about setting web and mail server tszhim Linux - Networking 1 05-22-2004 07:38 AM


All times are GMT -5. The time now is 01:03 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration