DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old October 20th, 2003, 04:57 PM
tonytd tonytd is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 2 tonytd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Again Dns Issue!

I've read lots of post in this forum about DNS issues but still I haven't figured out what my DNS problem is. Please help!

I'm running a WEB and DNS server out of home using a router. From outside you can access the website with the static IP and also the namservers for example ns1.xxxxxx.com and ns2.xxxxxx.com. What I want the public to access my website is just by xxxxxx.com and URL I think I'm really confused about the part where you have to create a Zone, Host, and ACNME Record. I duno if you need any clearer explaination of what my DNS issue is? thx. for helping

Tony

Reply With Quote
  #2  
Old October 21st, 2003, 01:54 PM
cconstantine cconstantine is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 60 cconstantine User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 m 27 sec
Reputation Power: 5
It's not permitted to have a CNAME record for the zone itself... So if you have records like:

www IN CNAME foohost.somedomain.com

which gets people to your web site, housed on foohost using name-based virtual hosting... you CANNOT do

@ IN CNAME foohost.somedomain.com

('@' being shorthand for "this" zone in a zone file.) You CAN do

@ IN A 1.2.3.4

with foohost's actual IP. AND then you must make sure your web server will realize that HTTP requests with a Hostname HTTP header of "domain.com" will be handled with the correct virtual host. (Since browser got a DNS resolution for "domain.com" it's going to use that literally in the hTTP header.)

If you're on apache, in the vhost you use...

servername www.mydomain.com
serveralias mydomain.com


[in mydomain.com zone file]
@ IN A 1.2.3.4
www IN CNAME foohost.whatever.com

If you're not name-based vhosting... then in DNS mydomain.com zone file:

@ IN A 1.2.3.4
www IN A 1.2.3.4

-c

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > Again Dns Issue!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway