HOSTS file

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Does anyone know if is it possible to CNAMEs in a Windows hosts file? The
obvious name and alias entry does work leading me to believe it can't be
done.

Any ideas?
 
Does anyone know if is it possible to CNAMEs in a Windows hosts file? The
obvious name and alias entry does work leading me to believe it can't be
done.

Any ideas?

Robert,

A hosts file entry is simple.
IPAddress URL
where URL = subdomain.domain.tld, no wildcards or expressions, exact matches
required.

DNS, with CNames and the other amenities, was developed long after Hosts was an
established component in IP networks.
<http://nitecruzr.blogspot.com/2005/07/local-name-and-address-resolution-on.html>
http://nitecruzr.blogspot.com/2005/07/local-name-and-address-resolution-on.html
 
No. Though LMHOSTS can have #INCLUDE directives, which is useful for
temporarily adding a group of names.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top