Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a blog on a subdomain technotes.tostaky.biz and I want to move it to a new URL: www.mytechnotes.biz. Of course, I want to redirect technotes.tostaky.biz to www.mytechnotes.biz.

www.mytechnotes.biz 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 tostaky.biz URL server.I also have a permanent redirect (both www and non-www) from technotes.tostaky.biz to http://www.mytechnotes.biz/.

When I open technotes.tostaky.biz 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 www.technotes.tostaky.biz redirects properly.

share|improve this question
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} ^technotes.tostaky.biz/$ [NC,OR]
RewriteCond %{HTTP_HOST}%{REQUEST_URI} ^www.technotes.tostaky.biz/$ [NC]
RewriteRule ^(.*)$ http://www.mytechnotes.biz/$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.