How to setup DNS to work without the "www" on shared hosting?
Len Conrad
LConrad at Go2France.com
Wed Jan 9 22:58:51 UTC 2002
Catch the FAQ bus, Gus
>I am using a shared hosting,
>
>http://www.domain.com works
>http://domain.com doesn't
>
>In the users area it has a simple DNS config tool and the settings
>are:
>
>www.domain.com CNAME server0012.isp.com
>server0012.isp.com A 123.123.123.123
ok, you might as well do this:
www.domain.com A 123.123.123.123
>I tried adding
>
>domain.com CNAME server0012.isp.com
>
>but that didn't work (got a page not found error), IMO because it
>looked in the different directory 'domain.com', which doesn't exists
>(it's a shared hosting).
>
>I am now trying with
>
>domain.com CNAME www.domain.com
>
>but I have heard that it won't work too(still waiting to see myself).
>
>What can I do?
www.domain.com A 123.123.123.123
domain.com A 123.123.123.123
And, in your name-based http 1.1 service, set it up so it responds to both
hostnames.
There aren't 50 ways to fix this problem.
Len
http://MenAndMice.com/DNS-training
http://BIND8NT.MEIway.com : ISC BIND 8.2.4 for NT4 & W2K
http://IMGate.MEIway.com : Build free, hi-perf, anti-abuse mail gateways
More information about the bind-users
mailing list