#1 debugging buddie = joel

I would like to say a big thankyou to Joel for helping me debug why my site hasn’t been loading the last few days, it seems it was a complication with my .htaccess file.

To make a long story short, unless I can be bothered reading a huge pdf on Apache, I can’t seem to keep my crazy redirecting script as well as the new domain name I bought.

I feel kind of silly after I announced I fully understood what was going on here. :)

So now I’m just using dyndns.com to serve http://tombammann.homedns.org with my dynamic IP, using the DynDNS updater piece of software. Then, I bought tombammann.org through dyndns.com, and set the nameservers through domain registration to that of zoneedit.com, and used zoneedit.com to cloak webforward tombammann.homedns.org to tombammann.org.

My .htaccess file is left as writeable, and with permalinks set to %postname% the WordPress automatically changes the .htaccess file to:

# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

If this setup works flawlessly for a couple weeks I *may* start playing with the .htaccess file again, just for fun :) I’ll actually read some literature before I do next time though, rather than learning as you go. I think if you want these things done properly you just have to do your research. Problem is though, if you don’t know what to research, or even what you’re trying to do, trial and error is the only option.

About Tom Bammann

Hi, I'm Tom. I like to blog. ~Tom Bammann~
This entry was posted in Web Development. Bookmark the permalink.

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>

Notify me of followup comments via e-mail. You can also subscribe without commenting.