hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Help me with my DNS problems?
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Help me with my DNS problems?

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 10-08-2000, 11:00 PM
mattan mattan is offline
Junior Guru
 
Join Date: Sep 2000
Posts: 242
Hi

Can any DNS gurus out there help me with this problem?

Lets say I have an IP xxx.xxx.xxx.xxx. In addition to having http://domain.com, I would also like to have the other subdomains like "www" and "ftp" also resolve to same IP.

Should I be using CNAME or A records


Thanks in advance

-- my sample dns zone
@ 43200 IN NS ns1.centralinfo.net.
@ 43200 IN NS ns2.centralinfo.net.
@ 43200 A xxx.xxx.xxx.xxx
www 43200 CNAME xxx.xxx.xxx.xxx
ftp 43200 CNAME xxx.xxx.xxx.xxx

Reply With Quote


Sponsored Links
  #2  
Old 10-09-2000, 12:06 AM
Jag Jag is offline
CEO - JaguarPC
 
Join Date: Jul 2000
Location: Colorado Springs, CO
Posts: 2,208
Well if you want the subdomain to have it own content then you need to set it up as another domain all its own. So it will have its own DNS and entry in httpd.conf .Then you need to add NameVirtualHost xxx.xxx.xxx.xxx to httpd.conf and then you can have all the subs generate their own content and reflect the same IP. Or if you want the subs to just reflect the main site you would just a an A record, or a better idea may be to add wildcards : * in A that way all subs goto the main site and you can use some of the scripts out there to redirect the subs you want to have their own content.

__________________
Hosting solutions provider since 1998 - Serving over 130 countries!
JaguarPC.com - Managed web hosting | Managed vps hosting | Dedicated servers
Resellerzoom.com - Reseller specialist | Cloud Reseller hosting | cPanel cloud Hosting

Reply With Quote
  #3  
Old 10-09-2000, 12:37 AM
mattan mattan is offline
Junior Guru
 
Join Date: Sep 2000
Posts: 242
Thanks jaguar

I think my mistake was in the CNAME. it should have been an "A" name because I resolving a host to an IP.

Reply With Quote
Sponsored Links
  #4  
Old 10-09-2000, 12:55 AM
Mike Mike is offline
WHT Addict
 
Join Date: Mar 2000
Posts: 100
Yes, you'd use "A" instead of "CNAME"

ie:

sub IN A xxx.xxx.xxx.xxx

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
cPacket Launches SPIFEE for Service Providers to Detect Network Performance Issues Web Hosting News 2013-01-28 16:21:35
Amazon Virginia Data Center Outage Causes Downtime for Reddit, Heroku Web Hosting News 2012-10-23 12:08:06
HostingCon Preview: Q&A with David Koston of Fortuity LLC Web Hosting News 2012-07-10 12:54:20
KnownHost Launches Unmanaged VPS Hosting with New Brand, RocketVPS Web Hosting News 2012-02-27 14:54:51
IT Management Software Firm SolarWinds Launches Synthetic End User Monitor Web Hosting News 2011-08-19 18:46:21


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?