Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account

Is a DNS root record required?

1

67 views

I am hosting a site off of Amazon S3 and hence can't point the root record, ie: domain.com to an Alias. The www.domain.com points to the S3 endpoint.

Do I have to have a root record and does it have to be an A record?

asked April 22, 2011 8:33 am CDT
posted via ServerFault

2 Answers

1
 

Root records in DNS are the central DNS servers the world relies on to coordinate resolution. This has nothing to do with your server or DNS records.

I think what you're looking for is a Default Record, so that when people go to http://domain.com it brings up your site. Yes, Default Records have to be of type A (or AAAA for IPv6 addresses) in most DNS servers.

answered April 22, 2011 9:24 am CDT
1
 

There is a restriction that CNAMEs, which are the aliases, are only allowed to be by themselves and thus aren't allowed as a top-level domain record (because there is also an SOA record there). So, no you can't have an alias. But functionally a web browser will treat a CNAME and an A name the same way so it wouldn't help you in the end.

Your problem is that you need a web server to be running and acting as domain.com and then redirecting you to www.domain.com. That's actually what I'd suggest and what many sites do: The server that serves up this redirect doesn't need to be nearly as beefy as the www one.

answered April 22, 2011 9:24 am CDT

Your answer

Join with account you already have


Sign in with Twitter account
Sign in with Facebook account
Sign in with Google Friend Connect

Preview
Similar questions
PHP PDO Help Required
February 18, 2011
Regex help required.
February 3, 2011