Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I have searched for this problem numerous times but I can't quite apply the solution to my problem. The usual solution I find is that I need to add an A-record to my dns, currently I only have a C-name record for host 'www' to my DNS.

The problem is, I'm having trouble understanding what goes in the 'host' section of the record when trying to create an A-record. Here is a screenshot to my domain registrar where I am trying to create the record.

http://i.imgur.com/M18zm.png

I have tried creating an A-record with the 'host' field set to *, but that is not a valid entry, nor is leaving it blank.

Anyone have any suggestions?

share|improve this question
add comment

1 Answer 1

I have tried creating an A-record with the 'host' field set to *, but that is not a valid entry, nor is leaving it blank.

An A record points directly to the IP address of your server.

However, this might be a restriction with your host (Amazon AWS?) since your site might not be served from any one server, so there is no one IP address that you can point to. In which case you could perhaps use a service such as wwwizer.com that provides the one IP address and performs the redirect for you.

Just to note, your site should only be accessible from one or the other (www or none-www), not both. It should redirect from one to the other - which is what you would need to do if you setup an A record.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.