Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 wish to have my use my own domain, yet still wish to retain access to

The way works now is that I must have the DNS A record point at their IP. Which obviously will prevent me from still having access to

Am posting this to gather some ideas. What ought to be the best way of solving this?

I am trying to stave off the need for a subdomain for the blog if I can help it.

Is there some magic with htaccess and domain masking that can occur without SEO penalties?

Thank you.

share|improve this question

migrated from Mar 13 '10 at 15:16

This question came from our site for computer enthusiasts and power users.

If they must have an A or CNAME record pointing to their service, you cannot have it at the same FQDN as your existing site, period. would solve your problem; you can set up an .htaccess giving an HTTP 301 redirect on pointing to

Content of your new .htaccess file:

RewriteEngine ON
RewriteRule ^/blog(.*)$$1 [R=301,E]

The (.*)$ and $1 catch anything after /blog and include it at the end of the new URL.

If that doesn't seem to work, try this instead:

REDIRECT 301 /blog

If the content is dynamic, use this instead, adjusting as needed:

RewriteEngine ON
RewriteCond %{QUERY_STRING} ^id=13$
RewriteRule ^/page.php$ [L,R=301]

Using 301 should not affect your SEO. Reference:

share|improve this answer
@romant: If this helped you, mark it accepted. Thanks! – Alexander Burke Mar 17 '10 at 14:49

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.