LinuxQuestions.org
Visit Jeremy's Blog.
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 01-31-2006, 09:25 AM   #1
tangy
Member
 
Registered: Nov 2003
Location: uk
Distribution: SUSE10
Posts: 31

Rep: Reputation: 15
Setting up DNS for domain - suse10


Hey,

Ive been drifting in and out of the linux world for some time, but now have a laptop and a computer, and now have windows on my laptop and linux on my old computer (blah de blah, you get the jist).

Basically i used to host small scale websites on my xp using zoneedit on my domains, but my main thought behind running linux once again was to use it as a webserver and not having to use zonedit but host domains directly from my linux install,
I have plans to install a control panel and host a few domains, ive been in webhosting biz for years but not familiar of setting up servers from scratch.

What i need to know is how to get my domain hosted onto my linux suse box, i'm as far as changing my ns to ns1.mydomain.tld and ns2.mydomain.tld, but don't have the slightest idea on how to configure my linux install to host my domain, i have apache, php, perl and all the rest running already (thanks to the ease of lampp http://www.apachefriends.org) now i just need to sort the domain.

Help will be greatly recieved,
Thanks,
James.
 
Old 01-31-2006, 10:56 AM   #2
GAVollink
Member
 
Registered: Apr 2002
Location: Bronx, NY
Distribution: Ubuntu
Posts: 371

Rep: Reputation: 34
James,

First the prelim. Your ISP allows you to host web sites from your location, and you have a static IP address to do this. If the previous statement is incorrect in any-way, contact your ISP first.

Second, you mention that you have Apache installed already (great). However, with that being the case, there's not a question left. Installing Apache is what is needed on your Linux box to host a web site (though, not necessarily a whole domain -- those are different).

If you are asking about hosting a whole domain, then you also need BIND (named), configured to deal with DNS requests (so that you have something to point ns1.mydomain.tld to. Of course, this is only one system, and you'll probably need a backup DNS server as well.

If you don't need to host the DNS, and only the web site... then you'll instead need to make sure your site if functioning first. You can test a web site without DNS by adding it's name directly into your "etc hosts" file. (on Linux this is /etc/hosts - the same is in windows under \WINDOWS\system32\drivers\etc\hosts ). Then enter in the expected host name into your browser, and see if it works.

Once you have the site, and you know its functioning, then you need to set the DNS (yours or your providers) to make sure that name points to your Linux server, wait 4 to 12 hours for the DNS to propagate, and you should be online.
 
  


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
how to set up pppoe in suse10... not able to acces adsl modem thru suse10 akshay_jp SUSE / openSUSE 5 09-04-2006 10:39 PM
Traceroute, Ping, Domain Name Server (DNS) Lookup, WHOIS, and DNS Records Lookup netoknet General 1 05-09-2005 03:43 AM
Setting up local DNS domain name Corxscrew Linux - Newbie 1 01-20-2005 07:49 AM
Dns 2 Domain u4113072 Linux - Networking 3 10-08-2002 04:42 PM
specifying dns domain chens_83 Linux - General 1 12-31-2001 09:45 AM

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

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