Having built sites on Godaddy technology and Hostgator I've found that getting all of the kinks worked out for the Drupal Clean URL feature can be quite tricky, for that reason I've summarized the different ways to get it working with Godaddy or my company Sustainable Online Solutions below.
The first challenge I ran into is that I overwrote the php.ini file that Godaddy had originally installed by default with my basic one containing the following info. Why did I do this? Well, I had to do it to get things working on Hostgator so I assumed it would be the same at Godaddy, not so...
Hostgator solution for Drupal Clean URL's, create a php.ini file with the following line. If you use Godaddy do not create this file, it is already on the server configured correctly.
register_globals = false
For anyone who is hosting with Godaddy and may have overwritten their original php.ini just copy and use the following:
register_globals = off allow_url_fopen = off expose_php = Off max_input_time = 60 variables_order = "EGPCS" extension_dir = ./ upload_tmp_dir = /tmp precision = 12 SMTP = relay-hosting.secureserver.net url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset=" [Zend] zend_extension=/usr/local/zo/ZendExtensionManager.so zend_extension=/usr/local/zo/4_3/ZendOptimizer.so
Back to the tutorial... for those who remain! There is one other "hack" solution to get the Clean URL's working with Drupal (btw. this is Drupal 6.2 I am working with here). You can login to Godaddy Control Panel or Sustainable Online Solutions Control Panel, hover the Domains drop down then click My Domains, find the URL that this installation of Drupal is associated with and click on it, now click the Total DNS Control and MX Records link as shown below:
Click the Add A New Record link on the top right and then enter * for the host name and your IP address for the Points To Ip Address field. Note that your IP address is shown right here on the same page, so it's very easy to find (blurred out in the image below). Doing this will override the other settings and allow your Clean URL feature to work properly :)
| Attachment | Size |
|---|---|
| godaddy-dns-record-control.png | 49.97 KB |
| godaddy-drupal-clean-url.png | 29.99 KB |