Sign up ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I have a blog on a subdomain and I want to move it to a new URL: Of course, I want to redirect to has been set-up properly, but I am trying to figure what I should do for the redirect.

Right now, I have two A records (www.technotes and technotes) pointing to the IP address of the root URL server.I also have a permanent redirect (both www and non-www) from to

When I open in Chrome, I get a 404 "The requested URL / was not found on this server. That’s all we know."

I don't know what is causing this issue. Should I wait for propagation or do I need to modify my configuration? Should I use CNAMEs instead of A records?

P.S: I forgot to mention that redirects properly.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Apparently, my (blue) host was not modifying my .htaccess properly. I found the solution here.

I used the following:

RewriteEngine On

RewriteCond %{HTTP_HOST}%{REQUEST_URI} ^$ [NC,OR]
RewriteCond %{HTTP_HOST}%{REQUEST_URI} ^$ [NC]
RewriteRule ^(.*)$$1 [r=301,nc]

instead of:

RewriteEngine on

RewriteCond %{HTTP_HOST} ^technotes\.tostaky\.biz$ [OR]
RewriteCond %{HTTP_HOST} ^www\.technotes\.tostaky\.biz$
RewriteRule ^/?$ "http\:\/\/www\.mytechnotes\.biz\/" [R=301,L]
share|improve this answer

Your Answer


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.