LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-25-2005, 12:41 PM   #1
captain skywave
Member
 
Registered: Nov 2004
Location: Europe
Distribution: WIN8.1 ENT, WIN SERVER 2012 R2, openSUSE 42.1 LEAP
Posts: 118

Rep: Reputation: 15
Wink home server to host domain


hello all,

ok - i try again:
would anyone of you guys be able to give me a hint on how to have my own domain hosted on my own server (apache) at home - it's currently hosted by an external isp..
i mean: so as to when you search my domain, you end up on my own server at home - and not on the one i rent with the external isp..

krgds
captain skywave

Last edited by captain skywave; 02-25-2005 at 12:51 PM.
 
Old 02-25-2005, 01:10 PM   #2
berrance
Member
 
Registered: Aug 2004
Location: Hull - England
Distribution: Ubunto and slowly switching to debian
Posts: 308

Rep: Reputation: 30
depends on a few things and also depends if you want to host your own dns server.

first of all on you current web host i issume it has an online CP go into it and have a look to see if it will let you specify the ip address or nameservers to use for your site if it does you can either set it up the simple way by

on your web hosts CP set the IP to your site as the IP address to your computer and make sure port 80 is open on it and if your using a router make sure you forward port 80 to the machine on your network thats running apache also make sure apache is running and no firewall is blocking port 80

the more complicated way (the way i do it) is to host your own DNS server using BIND

if your WEB host does also let you specify the name server to use for your website then you can do this also doing it this way you can host as many sub domains as you like and host your own mail server

first of all in the name server for your website put the publick ip address to your computer

then on your computer make sure you have bind installed and running with no firewall blocking UDP port 53

once you have done that creat a master zone in bind called "yoursite.org" (replace yoursite.org with your actual domain name) within that zone create 2 A records one leave it blank and the other call it name and in both put the publick IP address to your computer create a cname to yoursite.org and call it www and apply the changes this is pretty easy to set up if your using webmin

also i would advise doing a little reaserch on seting up a name server

to test it once you have it running use www.dnsstuff.com and use the dnsreport tool

good look and i dont realy have time at the moment to explain better is i have to go but i hope i have helped in some way
 
Old 02-25-2005, 02:59 PM   #3
captain skywave
Member
 
Registered: Nov 2004
Location: Europe
Distribution: WIN8.1 ENT, WIN SERVER 2012 R2, openSUSE 42.1 LEAP
Posts: 118

Original Poster
Rep: Reputation: 15
thank's berrance..

this is first time i'm doing small steps forward, regarding the setup to host my own domains..
i have to admit that i'm not all that prof within the specific details you provided - allthough i'm keen to go ahead..

i have just visited the domain control panel for my site with the external provider, and there is indeed lots of features to forward, transfer and what have we..
also i noticed a significant warning from the isp about setting up a dns-server at home, before being 100% sure how to do it - specifically warning you that you could loose your received emails for the domains..if you make errors in the setup at home..

i am inclined to try - as you suggested - 'the easy way' - by using the setup within the control panel at my isp..but i would prefer to run everything from home though..
the task ahead seems a bit daunting - but i'm not that easily giving up..

yes - indeed - i'm able to setup anything i desire at home - since i run the box with the suse9.1pro installed..
this includes setup of dns, apache etc. etc.
i have had a look at webmin - but i find yast also easy to use - so would you be able to direct me on the steps forward with yast..?

as i see from your reply - the setup comprises only: dns, http and mail setup.. am i right about that..? or is there more features involved..?

krgds
captain skywave

Last edited by captain skywave; 02-26-2005 at 01:06 AM.
 
Old 02-25-2005, 09:27 PM   #4
mikeheggy
Member
 
Registered: Jan 2005
Posts: 37

Rep: Reputation: 15
I host my website with my own server (on ADSL) at home, but I wouldn't recommend hosting your own nameserver.

Having your own domain hosted on another nameserver definately has its perks. It's one less service you have to worry about. I've heard a lot of good things about Zonedit, which is free. A few of their features include:

-e-mail forwarding (to another address, such as youname@yahoo.com)
-subdomains
-backup mail server, so if your own goes down, you don't lose important e-mails
-failover - monitors your webserver, and if it goes down, it fowards users to a different address

These features are especially useful for running your own server, since power can go out, DSL/Cable access can fail, among other problems.
 
Old 02-26-2005, 02:09 AM   #5
captain skywave
Member
 
Registered: Nov 2004
Location: Europe
Distribution: WIN8.1 ENT, WIN SERVER 2012 R2, openSUSE 42.1 LEAP
Posts: 118

Original Poster
Rep: Reputation: 15
mikeheggy,

ok - you are actually commenting on a topic - dns - which i find most complex to understand..
am i correct that a dns-server is one very critical one - and that it can cut you of from both internet and email - if not configured correct..?

..and also - is it correct that if i go ahead configuring - making wrong inputs - and then activate the dns-server from my home-box - that it will then mess up the dns-setup with my isp..?

krgds
captain skywave
 
Old 02-26-2005, 02:28 AM   #6
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
I have this operating as well and have quite a lot of info with links to a few different configurations which you can fiind on my server . Because DNS is not really required unless you want to start hosting a big e-mail server I would not recommend you use it. You need to establish, as said above, whether you are allowed to do this by your isp and whether there are any bandwidth restrictions.
 
Old 02-26-2005, 08:43 AM   #7
mikeheggy
Member
 
Registered: Jan 2005
Posts: 37

Rep: Reputation: 15
Yes, DNS is very critical - the internet and e-mail for that domain can be unavailble if the DNS is down. However, in my opinion the biggest issue is not that it's configured improperly (because that can always be tested), but if you're hosting it yourself, it can only be so reliable - unless you have battery backups in case of power outages, etc. Also, if you setup your own nameserver, it's one more service open to the internet that you have to be concerned with about security.

In my opinion, it would be much easier and make more sense to have the DNS hosted free elsewhere. What do you have to gain by hosting it yourself?
 
Old 02-26-2005, 09:43 AM   #8
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
I don't agree that DNS is critical since in the majority of instances the registrar has a place holder, and therefore the A record for the DNS so it is merely a case of altering the A record to point to a different IP. If you don't have a high volume of e-mail local for the website can be handled by the server and external mail sent via the isp e-mail server.
 
Old 02-26-2005, 09:55 AM   #9
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
The problem with hosting your own DNS from a home network connection is the lack of a permenant IP address. With domains hosted at home it's not a big deal to get the DNS provider updated when/if your IP changes and the propegation, or time until your new IP address gets spread around the net, are fairly quick because if there is a problem then it just checks your DNS provider who has the new IP. With DNS on a non-permenant IP address it's a little different because YOU are supposed to be the rock in the water that is always there to turn the domain name into the correct IP address but YOUR IP address may change.

Thus if you are hosting say a webserver and your IP changes, or your ISP goes down, then others can see that your name exists but can't get to it. If you also host your DNS server then when the same thing happens people trying your domain name get nothing at all back, as if you never existed.
 
Old 02-26-2005, 10:13 AM   #10
mikeheggy
Member
 
Registered: Jan 2005
Posts: 37

Rep: Reputation: 15
Quote:
Originally posted by Darin
The problem with hosting your own DNS from a home network connection is the lack of a permenant IP address.
That's true for people who have a dynamic IP, but some home DSL/Cable connections do have a static IP address.
 
Old 02-28-2005, 03:00 AM   #11
captain skywave
Member
 
Registered: Nov 2004
Location: Europe
Distribution: WIN8.1 ENT, WIN SERVER 2012 R2, openSUSE 42.1 LEAP
Posts: 118

Original Poster
Rep: Reputation: 15
hello all,

thank's for your advise - very interesting viewpoints..

i realize - again - as with many topics with my new linux-system - that i have to study more books and info before i have any clue about what to do with the different daemons..

i own my own domain-names - 5 of them - all with my own static IP addresses - so this should make the setup easier..
i will - however - for now, stick to my uk isp controlpanel setup..


TigerOC:
i was on your site to have a look at your recommendations for setup of dns - but i still need a more step-by-step walkthrough - preferrably via yast..

krgds
captain skywave
 
  


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
host and domain name sobia Linux - General 2 11-18-2005 02:55 AM
new domain to home server Digital_Err0r Linux - Newbie 11 11-06-2005 05:55 PM
setup of apache server to host own domain captain skywave SUSE / openSUSE 0 02-22-2005 01:40 PM
Suse Std Server 8.0 cannot ping from XP using host.domain name cmd0a0 Linux - Newbie 8 01-24-2005 10:02 AM
Sendmail sending as host.domain.com, i want it to be from just domain.com. PlatinumRik Linux - Software 5 10-07-2004 04:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:09 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