Drakonen.com

Posted by Drakonen on August 1, 2008 in Connectivity | Short Link

Finally i had the impulse to buy my own domain: drakonen.com. I ‘moved’ my blog to this domain which took a simple symlink. Making Nginx do a moved permanently redirect was a bit harder though, and caused quite some frustration. But here it is:

server {
server_name     drakonen.digigen.nl;
if ($http_host = 'drakonen.digigen.nl' ) {
rewrite  ^(.*)  http://drakonen.com$1  permanent;
}
}

This can maybe be optimized a bit, but it generates a 301 status and redirects.

Facebook Twitter Email

Tags: , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

Copyright © 2005-2012 Draakwired All rights reserved.
The Shades theme, version 1.7, is a BuyNowShop.com creation.

Social links powered by Ecreative Internet Marketing