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 - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-15-2002, 04:10 PM   #1
linuxwannabe
LQ Newbie
 
Registered: Jan 2002
Distribution: redhat 7.2
Posts: 14

Rep: Reputation: 0
Question Virtual server dns questions


I am thinking of setting up a virtual server to host a couple websites. I am only going to have 1 ip so i wll user virtual hosting by name. My question is, after i register a domain name how does it know to send http request to my server? Is there dns stuff somewhere I have to config or does the httpd.conf file do that?

Thanks
 
Old 05-16-2002, 10:56 AM   #2
Rashkae
Member
 
Registered: May 2002
Distribution: Slackware
Posts: 125

Rep: Reputation: 15
If you are running your own Primary DNS server, you need to configure it, as per the DNS-HOWTO. If DNS service is provided by your isp, you don't need to do anything. Just make sure their record for the web addresses point to your IP Address.
 
Old 05-16-2002, 02:37 PM   #3
linuxwannabe
LQ Newbie
 
Registered: Jan 2002
Distribution: redhat 7.2
Posts: 14

Original Poster
Rep: Reputation: 0
ok so the dns server and web server can have the same ip address then right?
 
Old 05-16-2002, 02:52 PM   #4
sewer_monkey
Member
 
Registered: May 2002
Location: Toronto, ON, Canada
Distribution: Ubuntu, Debian, RedHat/CentOS
Posts: 624

Rep: Reputation: 31
Go with www.zoneedit.com (they have free and paid services, depending on the usage patterns), they're really good, and they even support a whole range of dynamic IP clients.

The steps to get your domain resolving to your IP address are:
  1. Register the domain name.
  2. Set the nameservers in your WHOIS record to your DNS servers (be it ZoneEdit, your ISP's or your own). If you used an OpenSRS registrar (most small companies are nowadays), you can do it from https://manage.opensrs.net/. If you are unsure, ask your registrar.
  3. Edit your DNS server's zone settings accordingly (define A, CNAME, MX, e.t.c. records that suit your needs).
  4. Configure the web server to respond to HTTP requests from that domain name.

Note that once you update your WHOIS record, it may take anywhere from 24-96 hours to make the changes active, so allocate at least a week for this project just to be safe.

P.S. You need at least two unique DNS servers in your WHOIS. If you only have one box/one IP available, you have to go with your ISP's or ZoneEdit's DNS servers.

Last edited by sewer_monkey; 05-16-2002 at 02:53 PM.
 
Old 05-17-2002, 02:30 AM   #5
linuxwannabe
LQ Newbie
 
Registered: Jan 2002
Distribution: redhat 7.2
Posts: 14

Original Poster
Rep: Reputation: 0
Any suggestions on a good place to find the info on how to do steps 3 and 4 of that list.

I appreciate your time, its helping me a lot.
 
Old 05-17-2002, 05:00 AM   #6
Leffe
LQ Newbie
 
Registered: Apr 2002
Distribution: RH X
Posts: 21

Rep: Reputation: 15
3. Read a dns tutorial. Or ask whoever is managing you dns.

4. Read about virtualhosts in the docs or some tutorials.
(google for it and you should be up and going in 5)
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
help needed to setup a DNS server can anyone say how to configure a DNS server subha Linux - Networking 4 04-27-2012 11:50 PM
DNS server questions link1305 Linux - Networking 7 06-01-2004 01:48 AM
Webmin Vitualmin SUEXEC Apache Virtual Named Based Server Setup Questions ? Confused! wishiwas Linux - Software 0 12-02-2003 09:47 PM
Virtual DNS biggiefatts Linux - Networking 2 06-07-2002 11:17 AM
Questions about setting up a dns server fail66 Linux - Networking 1 11-24-2001 06:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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