no-www redirect not working / DNS A record
Posted
by
HonzaB
on Pro Webmasters
See other posts from Pro Webmasters
or by HonzaB
Published on 2011-06-30T13:39:03Z
Indexed on
2011/06/30
16:31 UTC
Read the original article
Hit count: 475
I'm far from an expert on this, but I'll try to be as clear as possible.
I have an eshop solution leased from a company and it's hosted on their server. I can access it thru company.com/myshop and it also allows me to set up to 3 domains that they should recognize and redirect to my specific shop from.
I registered a domain with a different company and am trying to "redirect" it to the eshop. By means of one of the following DNS entries (as they look in the admin GUI)
- * A 111.111.111.111
- *.myshop.com A 111.111.111.111
- myshop.com A 111.111.111.111
I've managed to make www.myshop.com redirect to the IP of company.com (111.111.111.111), which then goes on to do exactly what I expect it to do (ie. recognizes it comes from my domain, does some further redirects itself). However, I can't seem to make myshop.com (ie. without the www) redirect to that IP, too.
The company that I registered the domain with provides a "URL redirect" service, but google would only register the redirect request and wouldn't follow it. That's why I hope for a DNS solution to this - my assumption being I've managed to miss adding a record to the DNS; if, however, the reason lies elsewhere, I'd be happy to hear about that too. If it's a search engine friendly solution (ie the www/no-www dilemma - avoidance of double content penalties), then that's even better; have no prefference either way (www/no-www), just need it to work.
Any help is greatly appreciated, thanks
© Pro Webmasters or respective owner