I setup my web server and DNS server to run on windows2000 server. However, I can only access my website by type in www.mydomain.com but if I just type mydomain.com it doesn't work. Can someone please tell me what did I forget to do? Thank you.
Romeo
7:55 pm on Oct 15, 2003 (gmt 0)
Hmm, you don't tell what is not working: the DNS lookup or your webserver. Basically, you need 2 "A" records in your DNS, one for your.domain. and one for www.your.domain. I don't know Windows, on my Lunix box my zone files look like this: @ IN SOA ..... <blank> IN A 1.2.3.4 ; for the plain my.domain. www IN A 1.2.3.4 ; for the www.my.domain. and it works. Depending on your webserver and its operations mode (virtual hosting?) you eventually also have to specify an alias record in your httpd.config matching your DNS domain/subdomains.