Is there a service that will redirect your naked domain.com requests to www.domain.com? [closed]

I know this is easy with a 301 redirect in the apache config, but I'm looking for a 3rd party service that can do this cheaply or free. I'll be using this to redirect non-www traffic to a www record I've CNAME'ed to an Amazon Elastic Load Balancer hostname.


Solution 1:

Yes - two which are free are arecord.net and wwwizer.com First requires email confirmation and signup second seems better/easier - IP is provided on the homepage.

What I'm still searching for: a free redirect service out there which you can point to via A/CNAME record, and it will allow you to redirect to ANY destination URL!

Solution 2:

You should make this a HTTP 301 Moved Permanently redirect, as you mention.

Most DNS hosting services have this, so the first place to look would be your current DNS host / DNS service provider. There doesn't seem to be any agreement on what to call this -- GoDaddy seems to call it "forwarding", Gandi calls it "Web Forwarding".

If your DNS service provider doesn't have this, then the simplest solution would probably be to either:

  1. Find a super inexpensive web host like Nearly Free Speech, assign the root @ to this host's IP, and use PHP/.HTACCESS as you mention, or
  2. Switch to another DNS service provider.

.. at least I'm not aware of any (large, reputable) services which just do HTTP redirects without doing something else too, like DNS.

Solution 3:

Amazon's Route53 DNS service supports pseudo-A records for an ELB instance (they call them "ALIAS" records).