SETTING UP DNS WITHOUT WWW

Jeff444

Member
Aug 21, 2000
136
0
0
How to set up NT DNS entries so that browsers do not have to enter the WWW in a URL in the address bar?
 

linuxboy

Elite Member
Oct 9, 1999
2,577
6
76
umm

yeah it does.

if you have no default ip defined for a domain, it will not give a site unless you access it with something with an IN A record
and then u have to configure the server....
in apache you can wildcard it to show for *domainname.com

@ IN SOA servername. admin.email.servername. (
varies ; serial
3600 ; refresh
900 ; retry
36000 ; expire
36000 ; default_ttl
)

#www IN A ip addy for www
@ IN MX 5(or whatever the preference is) mailserver.
@ IN NS nameserver.
@ IN A this is what you need, put ip addy here and you will get the site without the www

dunno what dns server ur using for NT but that works in bind
I'm pretty sure I'm right..

but one if the gurus here can add if I missed anything
 

Argo

Lifer
Apr 8, 2000
10,045
0
0
LinuxBoy: He was asking if he can change DNS servers so that he doesn't have to type www in explorer. Now that has nothing to do with DNS server configuration from network properties. In most cases www.company.com and company.com have the same IP address. However, this doesn't have to be true, therefore omitting www won't work all the time. Unless you have explorer add it for you.
 

Argo

Lifer
Apr 8, 2000
10,045
0
0
It just hit me that he might be asking about configuring his own domain. In that case, all you have to do is have both www.company.com and company.com refer to the same IP address.
 

barebottoms

Senior member
Mar 26, 2000
508
0
0
another elegant solution:

<snip>

mydomain.com. IN A 10.10.70.144
www IN CNAME mydomain.com.

<snip>
 

dirtboy

Diamond Member
Oct 9, 1999
6,745
1
81
I added a new &quot;A record&quot; to my NT DNS server like this:

domain.name (greyed out)
<prefix domain field> (left this blank)
<IP address> (entered the IP address of the web server)


Now when I open a browser and type in domain.name, it pulls up the web site on that server.

Is that what you were trying to do?