GoDaddy IIS7 DotnetNuke Joomla WordPress

January 31, 2009 23:15 by Ryan Garaygay

UPDATE (2/2/09): GoDaddy even on deluxe/premium/unlimited hosting accounts, applications (eg. .NET application root) is configured as virtual directories. Thus the ApplicationRootPath is still rooted on the ROOT of the hosting disk space. This makes sense I think and so even if domain points to say ROOT/subfolderA, Response.Redirect("~/Page.aspx") will still point to <domain>/subfolderA/Page.aspx and it will appear as such in the browser.

Last post for Jan 2009 and just wanted to say that on top of upgrading to IIS 7, I also upgraded my hosting subscription to GoDaddy Unlimited (diskspace, traffic, databases - though there is 200MB hard limit on DB size).

Along with this is the support for PHP 5 which means I would be trying out a couple of PHP and MySQL apps.

My web development life actually started with a little PHP + MySQL instead of .NET but as I haven't practiced them and addicted to intellisense and drag and drops and along SQL server just came along with .NET so somehow I'll be brushing up with them a little bit. Maybe not in detail but trying out some apps like Joomla, WordPress which are popularly used.

With this expect a couple of posts on these topics.

Starting with the fact that as of this time GoDaddy DOESN'T support (or have installed) the Microsoft URL Rewriting Module for IIS 7 for some reason (at least as of this writing). This is one of the useful features (and sought of features for IIS) but when I have to rewrite stuff and I get HTTP error 500 (since rewrite is done in the system.webserver element and any error there will cause HTTP error 500) I called up their customer support and only then I knew they don't have this important feature yet. I would have known better but the PHP support for IIS 7 is still a good deal.

Another issue is how IIS7 handles plus sign (+) and spaces in the path. Reported a DNN issue on this and still working on resolution.

Thirdly I had to point domains to subfolders in my ROOT hosting account and I had problems with DNN on this. Basically DNN appends the folder name and I read around for a fix but didn't work until I combined two fixes. Will have a separate entry on this but if you need info now just feel free to drop me a message.

Next, Joomla. Test installation to a subfolder and implementing SEO friendly URLs resulted in CSS issues (links to CSS files seems to be invalid -I think something to do with /index.php/ in the paths). Yet to further investigate thisi but none for also. Without the SEO friendly URL setting though, it seems fine. Furthermore then I've solved this issue, will have to deal with the same issue with DNN mentioned above. Nothing much to say at this point except that unlike apache which has mod_rewrite and referenced in a lot of issue resolutions found online, IIS7 doesn't have that. In line with this, also tried out a couple of third party rewriters like one from ManagedFusion which uses mod_rewrite syntax and thus easier to use existing htaccess setting to resolve issues. More on this soon...

And then, Wordpress. Having issues similiar to the DNN subfolder issue about. In this case, if I set the Blog URL (General settings) to just the domain name (without the subfolder) then the site works. However if you have permalink settings aside from the default (eg. using ?p=n or ?page=n) then I get HTTP 500 errors.

Did I also mention that GoDaddy restored a previous backup of my files without my knowledge?? I give them credit for coming clean and eventually confirming it (the reason is because - allegedly some of my files got lost - what the heck, all was fine until they overwrote them). This is a major2x issue and it's a good thing I have I do backup my upload files locally and I actually have a local Subversion installation. So all bold face for this. DO NOT TRUST GoDaddy (or you hosting for that matter) solely with your files, have your own backup (regardless of how your hosting claims to be reliable). This is a very serious issue and GoDaddy lost my confidence on this one. But weighing the pros and cons, I'll still retain this one but not for my mission critical apps. And besides, I just confirmed that they indeed do daily backups. If it were indeed their fault you can always ask for the latest backup restore (assuming they admit it though). I have suggested some tracking mechanism for this and worse comes to worst that they cause damage to your operation by overwriting files, I'm pretty sure you have a way to get compensated.

Moving on, NO comment on performance yet but I don't expect this to be peformant and if any of the sites I will be hosting have considerable traffic, I'm pretty sure I'll need to move to another hosting eventually (or VPS or DS - thought unlikely). Plus the 200MB DB size on each database, have to watch out for that.

But for the meantime, aside from work and other things, will be busy with setting up online communities etc. I'lll be sure to share whatever I can ;)

Digg It!DZone It!StumbleUponDel.icio.usReddit

Related posts

Comments

June 4. 2009 19:02

Ryan Garaygay

also, GoDaddy only allows relay in their servers if the FROM address used is using a domain registered in their system (and not to mention only 250 relays a day). Found out about this when looking into some issues above and realized that I wasn't getting any comment notification anymore

So for those comments I haven't replied to right away, my apologies. It used to work but didn't realize it no longer does. It should be fine now. That is I should get a notification for this comment. sending...

Ryan Garaygay

June 4. 2009 19:04

Ryan Garaygay

didn't save the changes. sorry, one more time. have to try that email notifications now work.

Ryan Garaygay

August 16. 2009 07:55

brian

Hi Ryan,

Good post, I was wondering if you ever figured out a way to use permalinks without the CSS error. I know you specifically did not mention my case but i assume they are very similar.

I am hosting with godaddy linux and installed wordpress the other day. Everything was going fine with the default linking but when i switched to more SEO friendly permalinks it seems that the css files could not be accessed resulting in a site with the formatting messed up.

After changing permalinks to /%content%/%postname%/ it creates a .htaccess file as follows

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

I have left the site (efficientspend.com) in the non-css form for you to view.

thanks for you help and for the record I assume this is a relatively rare issue as you are the only one who i have found having the same/similar issue.

Brian

brian

November 12. 2009 00:55

JM-Experts

this is nice post, i like this. thanks for your great information.

JM-Experts

November 24. 2009 08:36

armando corrales

HI, i recently built a dnn site with wordpress in virtual sub directory /blog.
well, when i looked on google results to see my blog posts i saw that i'm getting the blog url that looks like this. www.remingtonturf.com/.../Default.aspx

the tabid/1026 etc shouldn't be there. it should just say domain.dom/blog/post-name.

please let me know if you have any solutions. thanks.

armando corrales

November 24. 2009 08:42

Ryan Garaygay

@armando. Looks like the rewritten friendly URL is working fine. So the problem is only with google's crawling?

Ryan Garaygay

November 24. 2009 09:19

Larry

I most of the IIS7 will support URL rewrite. Anyway some of our customer is using it also. So I think it will not be a issue..

Thanks.,
24bar7host.com

Larry

Add comment


(Will show your Gravatar icon)  

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

March 14. 2010 20:55