Posts Tagged ‘godaddy’

Godaddy mod_rewrite

Thursday, September 25th, 2008

I have two Godaddy accounts now. One is for a dedicated server, the other is for a deluxe share hosting package. Actually I do not need any share hosting once I get a dedicated server, but someone bought this for me, so I spent some time inspecting how good / bad it is.

I should regard myself as a Godaddy loyal client. I am 100% satisfied with their dedicated server service, and also, Godaddy domain management is the most powerful and convenient I have ever seen. However, Godaddy share hosting is definitely not something workable for me.

I am recently struggling at setting up magento in Godaddy share hosting. Magento setup is 50% successful. I mean, magento can run homepage, wishlist, popular search, etc all right, but it run into blank pages at many points, e.g. about us, customer service, etc. Initially I thought it was mod_rewrite problem, so I used phpinfo to check. I did not find mod_rewrite enabled. I quickly installed wordpress to double check, and if I enable wordpress search engine friendly url features, it runs into 404 error. I searched Godaddy Knowledge Base (FAQ centre). It says:

Mod_rewrite is an Apache web server module installed on all of our Linux servers by default; it does not have to be installed or enabled. Our Linux hosting accounts support most mod_rewrite functionality.

You do not need to enable mod_rewrite in your httpd.conf, as this is handled at a global level. All you need to do is add the desired code to the body of your .htaccess file.

For more information about mod_rewrite see the Apache Module mod_rewrite documentation.

NOTE:The .htaccess file containing the rewrite rules must be in the same directory as the target files.

This article did not help me. So I had to submit a ticket. Within several hours, I got the reply (I am satisfied with Godaddy support reponse speed) but it only contained the same words as the answer from Godaddy Knowledge Base. I googled “godaddy mod_rewrite” after I could not get a clear reply from Godaddy. I should have googled it earlier because soon I found someone mentioned rewrite rules in .htaccess with Godaddy share hosting DO NOT TAKE IMMEDIATE EFFECT.

This solved all my queries. Although I still do not know how Godaddy hide mod_rewrite from phpinfo, after several hours of being installed, wordpress is working properly.

However, magento is still not running properly. I assume it has nothing to do with mod_rewrite settings. By all means, to my opinion, magento is not suitable to run on a share hosting package. Installing magento on Godaddy share hosting account is only for my curiosity. I have been running magento successfully on my dedicated server.

Godaddy Offsite DNS

Wednesday, September 3rd, 2008

我非常感谢Godaddy提供的Offsite DNS服务,我已经全面实施。

最近发现Godaddy Offsite DNS一个考虑不够周到的方面:Setup Domain for Offsite DNS 之前不进行域名持有人的身份验证,这可能会有一些安全隐患。

我在Godaddy有若干帐号,帐号1对某个域名A设置的Offsite DNS,帐号2购有一个Godaddy Deluxe Plan,Deluxe Plan是个Share Hosting Plan,目前对我来说已经没有使用价值了,但以前曾针对域名A搞了一个测试。Deluxe Plan有自动设置DNS的功能,我没有从帐号2里删除域名A,造成帐号1里域名A的Offsite DNS无法生效。

这里我不理解的是:Offsite DNS和Deluxe DNS使用各自不同的Nameservers,但Deluxe DNS还是影响到了Offsite DNS。

这里我觉得不安全的是:如果帐号1和帐号2分属不同的人,或者域名A转让了主人,而前后主人都使用Godaddy DNS,那岂不是问题多多?