|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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 |
![]() |
| Viewing: Dev Shed Forums > System Administration > DNS > Again Dns Issue! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|