I've been trying to google an answer for this one but I haven't found one.
I have a web server and I registered a domain name last week. But Can't seem to get the domain to show up in my browser. I can browse other sites on the web server okay and dnsip and tinydns-get gives me IP and authority responses. I've forwarded the ports on the router. My ISP doesn't block port 80. Lynx gives me "Can't access startfile".
"Can't access startfile" on Lynx usually means that there is no index file, or that the index file does not have the mime type
text/html. However, as you've already seen, that doesn't get you much further. What does the traceroute get? Also, is your virtual host configuration pointing to the right document root? Are the permissions OK on the index file?
Msg#: 2176 posted 10:03 pm on Aug 29, 2004 (gmt 0)
What do you get when you do a dig on the web server for the name. Pay attention to the DNS server that answers the request. Then use www.dnsstuff.com to look a little more deeper to see what the outside sees. If you are getting the coorect IP and DNs servers in both cases, then there is probably somthing wrong with your web server setup.
If traceroute says "unknown host", then your domain isn't resolving properly.
Remember that with djbdns (unlike BIND), the nameserver and the cache run on different IP addresses. Make sure you're using the nameserver in your domain records, and the cache (or your ISP's cache) in your host's DNS config (resolv.conf).
It's also possible that your webserver isn't set up properly. Are you using virtual hosts? When you hit localhost, you'll get the default host (unless you set up a localhost virtual host, which would be odd).