: Domain name only works with www. but not without the www 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 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.
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?
More posts by @Cody1181609
2 Comments
Sorted by latest first Latest Oldest Best
In my case I am using AWS and Godaddy, so I updated my www CNAME to xxx.aws.amazon.com and deleted the A record. After that I used a forwarding 301 (permanent redirect) and pointed it to mysite.com.
So in short use forwarding and point it to yoursite.com
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.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.