LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-02-2003, 09:49 PM   #1
gschrade
Member
 
Registered: Oct 2003
Posts: 52

Rep: Reputation: 15
hostname for Web server on RedHat 9


I am setting up a Web server on RedHat 9. In the network configuration screen I am not sure what to put in the hostname text box. I have a domain name reserved (myDomainName.com), but I am not sure if that is what goes there. Do I just leave that blank and the domain name goes somewhere else?

Thanks in advance
 
Old 12-02-2003, 09:58 PM   #2
netboy_541
Member
 
Registered: Jul 2003
Location: Hamilton, OH
Distribution: Redhat 9, SuSE 10.1 & 10.2, Kubuntu
Posts: 173

Rep: Reputation: 30
provided that you have that domain's dns/name servers bound to your IP, and you have that IP on that machine, you should set it up as

servername.yourdomain.com

like if you want to call your webserver WWW.yourdomain.com

you enter it like that..
if you need a DNS provider, zonedit.com is a nice one for free...


Later
 
Old 12-02-2003, 10:10 PM   #3
gschrade
Member
 
Registered: Oct 2003
Posts: 52

Original Poster
Rep: Reputation: 15
Guess I should have given some more info. I have a static ip address coming into a router. From there I set a static ip address on the router in the LAN and a static ip address on this server. So if I want my webserver to be found as www.mydomain.com is that what I enter for the hostname? Does zonedit.com then enter that domain in its DNS so that it can be located from the web?
 
Old 12-02-2003, 10:24 PM   #4
netboy_541
Member
 
Registered: Jul 2003
Location: Hamilton, OH
Distribution: Redhat 9, SuSE 10.1 & 10.2, Kubuntu
Posts: 173

Rep: Reputation: 30
with the router situation -- depending on the router -- you must do some configuration there to allow the requests to pass through and go to the right place.... as with zonedit -- you must set your name servers with your registrar to theirs and sign up for a account and build your zone. it's extremely easy -- i use them myself because i'm too lazy to set up my own external dns servers.. lol

make your computer name (webserver.domain.com) in zoneedit, but set it's IP to your static IP. the router will do the dirty work of figuring out where it goes and such....
 
Old 12-02-2003, 10:32 PM   #5
gschrade
Member
 
Registered: Oct 2003
Posts: 52

Original Poster
Rep: Reputation: 15
OK, so do I leave hostname blank in the RedHat setup then? or put mydomain.com?
 
Old 12-02-2003, 10:34 PM   #6
netboy_541
Member
 
Registered: Jul 2003
Location: Hamilton, OH
Distribution: Redhat 9, SuSE 10.1 & 10.2, Kubuntu
Posts: 173

Rep: Reputation: 30
machinename.mydomain.com

example


grover.interactnetworks.net

that's my domain

with my internal linux box
 
Old 12-02-2003, 10:38 PM   #7
gschrade
Member
 
Registered: Oct 2003
Posts: 52

Original Poster
Rep: Reputation: 15
ok, but an external client just enters www.interactnetworks.net to get to your site, not http://gover.interactnetworks.net right?
 
Old 12-02-2003, 10:41 PM   #8
netboy_541
Member
 
Registered: Jul 2003
Location: Hamilton, OH
Distribution: Redhat 9, SuSE 10.1 & 10.2, Kubuntu
Posts: 173

Rep: Reputation: 30
right-o

try it out..

you can get to my site by going to

www.interactnetworks.net <fed through firewall>
or isasrv.interactnetworks.net

you'll wind up in the same place..but no one knows that but me -- =)
 
Old 12-02-2003, 10:42 PM   #9
gschrade
Member
 
Registered: Oct 2003
Posts: 52

Original Poster
Rep: Reputation: 15
thank you very much
 
Old 12-02-2003, 10:44 PM   #10
netboy_541
Member
 
Registered: Jul 2003
Location: Hamilton, OH
Distribution: Redhat 9, SuSE 10.1 & 10.2, Kubuntu
Posts: 173

Rep: Reputation: 30
no problem!!
 
  


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
Want Numeric IP of Web Server to resolve to hostname cyrusc Linux - Newbie 2 03-19-2005 03:54 PM
From a Fador REdhat web server to MSSQL 2000 llyr Linux - Networking 0 01-14-2004 06:22 PM
Newbie to Redhat 9.0 Web Server Setup langron Linux - Newbie 2 08-21-2003 06:36 PM
RedHat 9 as a web server ETarpley Linux - Software 0 05-19-2003 08:25 PM
Setting up a web server on Redhat 8 juggler Linux - General 6 04-02-2003 02:22 AM


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