Mobile app version of vmapp.org
Login or Join
Cody1181609

: 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

@Cody1181609

Posted in: #DomainRegistrar

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?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Cody1181609

2 Comments

Sorted by latest first Latest Oldest Best

 

@Merenda212

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

10% popularity Vote Up Vote Down


 

@Alves908

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme