Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 





Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Design Forum > Web Serving and Management
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read

Web Serving and Management how to web server support forum

Reply
 
Thread Tools
Old 10-16-2006, 02:13 PM   #1 (permalink)
Registered User
 
Join Date: Oct 2006
Posts: 1
OS: ubuntu linux


assistance with linux server

Hey all:
This noob is needing a little advice.

I love Ubuntu so though I would stick with it on this one - but need some advice on configuring it.
Here are my objectives.
I have got a domain name and want to host a mail server, webserver, ftp server etc on this domain name at home on my broadband line.

I ideally want to receive email and have a web interface to the email as well - anymailsentto@mynewdomain.com
any mail that is not in the userlist will end up in the postmast box and the rest to the actual set up users. the users can access their email say at webmail.mynewdomain.com

ftp.mynewdmain.com will work and have user accounts as well.

I am having difficulty getting my head around Bind and dnsing for this site - here are the details on the server end.

internal ip - 192.168.1.10 - external ip - 87.245.69.85 (for eg) all ports for 8080, 23,21,25 etc etc - pointing to 192.168.1.10

My confusion is setting up hostname and dns on the server as well as the domain control panel - what do i need to set -
I would like the server to be called server1 for eg. so the whole name is server1.mydomain.com
as for the ip address's and dns records I get well confused - could anyone point me in the right direction - I will be willing to give any information needed as i would really like to learn these things - Once i have it all working I will then see HOW it works and be able to do it again later.

eventually I want to take it a few more steps futher and have either 2 different domains pointing to the same server but different webpages. Or have my wife have a webpage on a subdomain like mywife.mynewdomain.com and she has her webpage there. and my main one on www.mynewdomain.com

Any help will be much appreciated.
n3m3s1s4u is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 10-17-2006, 10:36 AM   #2 (permalink)
Manager, Alternative Comp
 
Skie's Avatar
 
Join Date: Mar 2003
Location: Downers Grove, IL
Posts: 1,821
OS: Gentoo Linux, Redhat Enterprise Linux, CentOS

My System

Even though you're using Linux, you're probably better off having this thread in the Web Serving forum. I've moved it there for you.

As far as your BIND issue, you'll need to edit your mydomian.com.db file which is most likely located at /var/named. The file should look something like this:

Quote:
$TTL 14400
@ 14440 IN SOA ns1.mydomain.com. root.server1.mydomain.com. (
2004081303
14400
7200
3600000
86400
)

mydomain.com. 14400 IN NS ns1.mydomain.com.
mydomain.com. 14400 IN NS ns2.mydomain.com.

mydomain.com. 14400 IN A 87.245.69.85

localhost.mydomain.com. 14400 IN A 127.0.0.1

mydomain.com. 14400 IN MX 0 mydomain.com.

mail 14400 IN CNAME mydomain.
www 14400 IN CNAME mydomain.com.
ftp 14400 IN A 87.245.69.85
server1 14400 IN A 87.245.69.85
This probably isn't going to be 100% what you need, but use it as a good guide to get you going in the right direction.
__________________
Skie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -7. The time now is 05:46 PM.



Copyright 2001 - 2008, Tech Support Forum

Search Engine Friendly URLs by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82