Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

allowing users to type in just the domain name not www

Status
Not open for further replies.
May 19, 2004
212
0
0
US
I have in the past been able to allow users the ability to type in just a domain name. For example.

From a browser a user can type in mydomain.com and it will resolve to the default web site. On the systems I have seen this work it was referenced using an @ symbol for this entry.

ON Windows 2003 DNS I don;t see how to do this. Anyone have any ideas?
 
In MS DNS just create a blank A record in the forward zone.
 
the problem here could be in either of 2 areas, or both.

1. there does in fact need to be an A record for your domain. In BIND terminolgy, this would look like:

@ A xx.xx.xx.xx

2. if your webserver is apache: if it's doing virtual hosting, you need to make sure the "ServerName" is the domain name, and there is also a "ServerAlias" with the "www.[mydomainname]" in it. if you are on something other than apache, you'll just need to make sure that basically both the domain name and the subdomain www. resolve the same website.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top