Search Again:

Re: www.domain.com vs domain.com

From: Higher Powered web
Date: Friday, May 5, 2000
Time: 9:19:55 am

Thanks all-
I didn't think it could be done through the DNS, but the more I learn the
more I realise I don't know jack, so I thought i'd ask :)

I guess i'm going to start looking at welcome, as it comes up repetedly on
several lists, and is probably the cheapest plug-in I will buy!

AS for the records below, thanks! I'll check it out and make the
appropriate changes. Things have been working sooo smoothly with QDNS I
don't change much! (Ever since I figured out to add a new domain all I have
to do is change the "domain information" and everything else automatically
changes in the record, I've been in heaven!)

Thanks all!!

James Sheffer
--
-------------------------------------
Higher Powered Web Services
http://www.higherpowered.com
FileMaker/Lasso Web Hosting
"Bringing the future to our clients"
-------------------------------------



In a profound moment of clarity, I understood Global Homes Webmaster as
stating:

> On 05/04/00 at 16:54, Higher Powered web wrote:
>
>> Hi all-
>>
>> I've got a web* server set for virtual domains.
>> Each domain has an entry twice. Once for www.domainname.com and once for
>> domainname.com
>>
>> I've outgrown this and have to bit the bullet and change all the records.
>> But I'm not sure how. I want only one record in web* for ease of use as
>> well as log files.
>
> Do you still want each site to be reachable with both 'domain.com' and
> 'www.domain.com'? If so, there's no way around having two entries per site in
> your W* virtual hosts set-up, since it doesn't support wildcards in host
> names. You might be able to eliminate the 'redundant' entries by using Welcome
> for virtual hosts, but I don't use Welcome so I can't say for certain. (I put
> 'redundant' in quotes because the entries aren't really redundant --
> domain.com and www.domain.com are two distinct and separate host names.)
>
>> Someone said this was a dns thing. Is this right?
>
> Getting the domain names to resolve to your web server's IP address is DNS,
> yes.
>
>> I currently have QDNS domain records set with the following:
>>
>> domain.com....NS
>> domain.com....NS2
>> domain.com....MX
>> domain.com....MX2
>> name server..A
>> name server2.A
>> mail server..A
>> mail server2.A
>> www.domain.com A
>>
>> Any ideas?
>
> You probably don't need (or want) to have A records for your name and mail
> servers in the zone files for your virtual domains. The NS and MX records
> should use the hosts' canonical names (i.e., the names that reverse lookups
> resolve to), as in:
>
> domain.com. NS ns.yourmaindomain.com.
> domain.com. MX mail.yourmaindomain.com.
>
> Only the zone file for yourmaindomain.com. should have A records for the name
> and mail servers. So all you really need for the virtual domain is:
>
> domain.com. NS ns1.yourmaindomain.com.
> domain.com. NS ns2.yourmaindomain.com.
> domain.com. MX mail1.yourmaindomain.com.
> domain.com. MX mail2.yourmaindomain.com.
> www A www.xxx.yyy.zzz
>
> Don't forget the trailing dots (.) on the fully qualified domain names.
>
> Christopher Bort



Messages In This Thread:



Return to Digital Point Solutions' Home Page